I'm just looking into the memory problem and have found another thing which is causing /data to fill rapidly.
Possibly related to JIT.
There are dumps made by the debugger on crashes. These just seem to mount up and use up memory.
On doing some research it seems there was a fix for this included in one of the custom 1.5 kernels for the Samsung Moment.
I'm just looking into adding this to the script so it removes these files on startup as I doubt they are much use unless people are actively using them for debugging.
Currently my phone has 65.7mb used by this.
Code:
65.7M /data/tombstones
Not sure if this should be added to the kernel or not but I am just testing a new version of this script to remove the files on startup.
before using test script
Code:
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 82624 12 82612 0% /dev
tmpfs 4096 0 4096 0% /sqlite_stmt_journals
/dev/stl6 200996 133668 67328 67% /system
/dev/stl5 150644 121384 29260 81% /data
/dev/stl7 80576 42896 37680 53% /cache
/dev/stl10 7729 776 6953 10% /efs
/dev/bml8 4096 4096 0 100% /xbin
/dev/stl7 80576 42896 37680 53% /data/dalvik-cache
after using test script Code:
Filesystem Size Used Available Use% Mounted on
tmpfs 80.7M 12.0K 80.7M 0% /dev
tmpfs 4.0M 0 4.0M 0% /sqlite_stmt_journals
/dev/stl6 196.3M 130.5M 65.8M 67% /system
/dev/stl5 147.1M 52.8M 94.3M 36% /data
/dev/stl7 78.7M 41.9M 36.8M 53% /cache
/dev/stl10 7.5M 776.0K 6.8M 10% /efs
/dev/bml8 4.0M 4.0M 0 100% /xbin
/dev/stl7 78.7M 41.9M 36.8M 53% /data/dalvik-cache
suddenly I have near 100mb free space on /data

---------- Post added at 03:46 PM ---------- Previous post was at 03:27 PM ----------
I have now uploaded the newer version of the script which now includes removal of the debugger dumps in /data/tombstones