Discussion:
How to increase JVM max allocateable memory
Rudolf Krist
2004-02-12 07:07:42 UTC
Permalink
Hi,

my Node reports that the "Maximum memory the JVM will allocate" is set
to 130.112 KiB (my System has got 512 MB RAM). My Question is, is that
limit not too low? And if it is, how can I increase this limit?

Do I have to change the FLaunch.ini file? And when I have to change it,
what I must change there. The content of my current FLaunch.ini you will
see below. Is there some documentation about this file?

My system details:
CPU: PIII 933
RAM: 512 MB
OS: WinXP Pro
JVM: 1.4.1_02-b06
Freenet: Fred,0.5,STABLE-1.50,5068, CVS:1.90.2.50.2.95


*** FLaunch.ini ***
[Freenet Launcher]
#JavaExec=C:\apps\devel\jbuilder\jdk1.4\jre\bin\java.exe
#Javaw=C:\apps\devel\jbuilder\jdk1.4\jre\bin\javaw.exe

JavaExec=C:\Program Files\Java\j2re1.4.2_03\bin\java.exe
Javaw=C:\Program Files\Java\j2re1.4.2_03\bin\javaw.exe
Jflags=-Xmx320m
Priority=4294967295
PriorityClass=16384
JavaMem=default
fservew_exec=JavaExec
_______________________________________________
Support mailing list
Support-***@public.gmane.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-request-***@public.gmane.org?subject=unsubscribe
Niklas Bergh
2004-02-12 08:26:10 UTC
Permalink
Set JavaMem to 256M or similar. Run java -X for documentation on that
parameter.

Hmmm.. Looks like 'Jflags=-Xmx320m' really should have handled this if..
At least if it is used and if it was set to '-Xmx320M'...

/N
-----Original Message-----
Sent: den 12 februari 2004 08:08
Subject: [freenet-support] How to increase JVM max allocateable memory
Hi,
my Node reports that the "Maximum memory the JVM will
allocate" is set
to 130.112 KiB (my System has got 512 MB RAM). My Question
is, is that
limit not too low? And if it is, how can I increase this limit?
Do I have to change the FLaunch.ini file? And when I have to
change it,
what I must change there. The content of my current
FLaunch.ini you will
see below. Is there some documentation about this file?
CPU: PIII 933
RAM: 512 MB
OS: WinXP Pro
JVM: 1.4.1_02-b06
Freenet: Fred,0.5,STABLE-1.50,5068, CVS:1.90.2.50.2.95
*** FLaunch.ini ***
[Freenet Launcher]
#JavaExec=C:\apps\devel\jbuilder\jdk1.4\jre\bin\java.exe
#Javaw=C:\apps\devel\jbuilder\jdk1.4\jre\bin\javaw.exe
JavaExec=C:\Program Files\Java\j2re1.4.2_03\bin\java.exe
Javaw=C:\Program Files\Java\j2re1.4.2_03\bin\javaw.exe
Jflags=-Xmx320m
Priority=4294967295
PriorityClass=16384
JavaMem=default
fservew_exec=JavaExec _______________________________________________
Support mailing list
http://news.gmane.org/gmane.network.freenet.su> pport
Unsubscribe at
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
_______________________________________________
Support mailing list
Support-***@public.gmane.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-request-***@public.gmane.org?subject=unsubscribe
Rudolf Krist
2004-02-12 18:42:54 UTC
Permalink
Post by Niklas Bergh
Set JavaMem to 256M or similar. Run java -X for documentation on that
parameter.
Hmmm.. Looks like 'Jflags=-Xmx320m' really should have handled this
if..
At least if it is used and if it was set to '-Xmx320M'...
JavaMem works, I asked because some months ago I had the same problem,
and then this option didn't work, so I started the node manually with
java.exe -Xmx320m -jar freenet.jar. But later the node didn't work when
I started it manually (Build ~6396)...
Thanks

Rudi
_______________________________________________
Support mailing list
Support-***@public.gmane.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-request-***@public.gmane.org?subject=unsubscribe
Loading...