Embedded Linux Virtual Memory Help
I am working with a gumstix XScale 255 processor. Here are the specs:
SD Card Slot
My Goal: Run Java applications without kernel crashes
Currently: Java runs for a few frames of my application, then the kernel crashes due to the inability to read a specific virtual memory address. I have monitored the system resources using the command 'top' in the process and the program reports 200% RAM usage before the kernel dies.
I know that 64MB is very small for java to run, which is why I put an extra partition on the SD card(which also contains my FS) for swap to add additional virtual memory. I added the support to the kernel and edited fstab to initialize the partition as swap space. It does show up when using the 'free' command but not in the 'top' command. In addition 'free' never reports it being used what-so-ever.
I guess my question is: Is this even possible to do? or is the amount of RAM on the gumstix just too overcommited?
If this is possible to get this going, can I force the swap partition to be used? and If so, can I tell Java to specifically use the swap partition as RAM?
Any direction would be helpful,