Quote:
Originally Posted by knc1
How would deleting anything on the filesystem "save kindle ram"?
The screen images used are small, so just delete one book and you are way ahead in your savings plan.
|
maybe I did not explain clear of my problem
I run a program on kindle , the main task of the program is serialization a binary dict,
when idx of dict > 210000, it crash, if 180000>idx>210000,it works, but can not call other functions after serialization , (got an error message: memory address is out of range) that is why I want to as much as possible to save memory(not storage space), to test what is highest index of dict can be run on kindle , anyway, that is a strange requirement
Quote:
Originally Posted by theol0403
Did you mean free storage space? Deleting files from the root directory is useless, the user partition (visible drive) is at a fixed size. However, if you must know, the directory is in /usr/share/blanket/screensaver/
However, deleting it has no effect, except from you having no screensavers
Also, if you want to change the screensavers, I do not recommend directly putting pictures there, but using the screensaver hack (linkss), which symlinks the images so that overflowing the root directory will not result in a bricked kindle
Edit:
If you actually meant ram, you are probably running a large ram-eating program.
If you want to know, you can stop the screensaver using helper+ in kual.
Executing "stop lab126_gui" in a shell will halt the user interface, freeing ram.
Also, you can create a swap file described here to gain more ram from the flash drive
|
thanks, theol0403, found screensaver path as you mentioned:/usr/share/blanket/screensaver/, each image size is around 400k
if I was can delete them It would be saved 400k memory during kindle halted
I would not stop the screensaver using helper+, because my program running progress is very long, I need put kindle to my pocket, I mean I just need a blank screensaver
my pc connect kindle by USBNetwork Hack, it looks no permission to delete any file in /usr/share/blanket/screensaver/ path, do you know how can I get permission of this folder and delete those images? thanks!