![]() |
#1 |
Developer's Corner Mascot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
|
How to force the garbage collection to free memory on kindle?
Does anybody know how to force the garbage collection to free RAM memory on Kindle Touch/PW ?
|
![]() |
![]() |
![]() |
#2 |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
![]() ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
128Mbyte or 256Mbyte will do just fine. towbob has shown that, when he native compiles such monsters as libwebkit-gtk. |
|
![]() |
![]() |
![]() |
#4 | ||
Developer's Corner Mascot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
|
Quote:
Quote:
P.S. anyway know something about forcing the garbage collection still interest me ![]() Last edited by Aeris; 11-10-2013 at 01:31 PM. |
||
![]() |
![]() |
![]() |
#5 |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
So, what part of memory contains garbage to be collected? Do you have any exact numbers besides speculations out of good intentions? Maybe there is no garbage at all?
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Developer's Corner Mascot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
|
Nice points. I can't recall exactly how much memory is freed by garbage collecting now... IIRC I managed to see the GC in action one time only
![]() I know something else, don't know if this could help... Before launching Midori browser, I had 5 megabyte of free memory, after launching it showed 50 megabyte... I'd would like to reproduce this kind of behaviour without having to open/close an app. I've tryied with DebugOn logging but can't spot exactly what does happen in this cases. If it sounds quite pointless, sorry about that, it was just an idea... |
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
Not sure if you can trigger cvm to GC at arbitrary points. You could use cvmsh, but I reckon from a short glance at available documentation that cvm must be have compile-time configuration for this tool.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Free (Kindle) The Ranger Force: Darby's Rangers in WWII [Military History] | ATDrake | Deals and Resources (No Self-Promotion or Affiliate Links) | 1 | 03-02-2013 10:22 AM |
Free (Kindle) Air Force Officer's Guide [Military Career Self-Help] | ATDrake | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 06-01-2012 02:58 PM |
Free Short Story - Large Garbage (K) | koland | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 03-07-2012 01:35 PM |
Free Kindle US - Lethal Force | mattlynn | Self-Promotions by Authors and Publishers | 2 | 09-04-2011 03:55 PM |
Free Book (Kindle) - Turn your sales force into profit heroes (UK Only) | koland | Deals and Resources (No Self-Promotion or Affiliate Links) | 1 | 04-06-2011 11:26 PM |