Thread
:
[Debian] Debian Apps That Run Well On The Tablets
View Single Post
qole
2008-10-21 , 23:56
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#
263
Helmuti: The applet you suggest is running out of memory. I went to a Java diagnostic page, it looks like, by default, there's only ~6 MB of memory available for Java.
I'll do some research and figure out what's going on, but I think you need to increase the /tmp file size in the ~/.chroot file. The 6MB reported size is with a 10MB /tmp dir.
EDIT: Yes, this is where Java is getting its Max Mem value from; I changed TMPSIZE to 20M and now the same page is printing ">17M"
EDIT2: Looks like that's only PART of what's going on; I boosted the tmp dir to 40MB (and the swap file size to 300+MB), and the max mem is staying at the 17M limit...
EDIT3: It looks like I need to figure out a way to run the applet viewer with the parameter -Xmx48m (or some other big number). Java for windows has a config tool; where is it for Linux?
EDIT4: Interesting; running "free -m " in Debian tells me that I only have 24M of "real" memory available. I wonder if that's part of the problem? Java won't run in swap memory?
__________________
qole.org
---
twitter
---
Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
Last edited by qole; 2008-10-22 at
06:02
.
Quote & Reply
|
The Following User Says Thank You to qole For This Useful Post:
debernardis
qole
View Public Profile
Send a private message to qole
Visit qole's homepage!
Find all posts by qole