List Archive: gentoo-amd64
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
Felipe Ribeiro wrote:
> When running Java on my gentoo amd64 box, 1gb of memory isn`t enough
> to run eclipse and tomcat, i get some OutOfMemory errors. Is there any
> known problem on memory management related to java and linux amd64?
> I`ve tried to use a 32bit vm, but the problem persists.
my memory is a bit hazy on this, but I believe i once had similar
problem with azureus and sun's jvm (and blackdown's i think). The
problem was basically that java has a maximum memory pool size set to 64
MB. You can change it with java -Xmxn, where n could be 128m for 128
Megabytes (see `man java` for the details). For azureus there is a file
~/.azureus/gentoo.config where you can add parameters for the jvm to the
environment var JAVA_OPTIONS. Maybe it works similarily in eclipse/tomcat.
While doing a short google i also found these:
In the posts regarding eclipse someone mentions adding the parameter
-XX:MaxPermSize=128M to eclipse.ini. Unfortunately i cannot verify all
of this as i do not use eclipse or tomcat, so YMMV :)
email@example.com mailing list