[jboss-user] [Beginner's Corner] - Tweaking memory in JBOSS
André Borgeld
do-not-reply at jboss.com
Mon Apr 2 03:56:10 EDT 2012
André Borgeld [https://community.jboss.org/people/aborgeld] created the discussion
"Tweaking memory in JBOSS"
To view the discussion, visit: https://community.jboss.org/message/727674#727674
--------------------------------------------------------------
*Dear JBoss users,
*
*
I have a question. I'm using a planon server and the memory is increasing almost the max of the server, 2 gig.
A way is to put more memory in the server is one thing, but when i read the documentation i see the following article about "preventing memory for list"
*
++When the user tries to retrieve a huge list of records, the memory usagesometimes reaches so high that the application stops responding. You can prevent this by setting the JVM parameter in++
+D:\Program Files\Planon\PlanonEE201012\Server\jboss-4.2.3.GA\tanuki\conf\jboss-wrapper-default.conf+
+ +
+In the Java Additional Parameters section, add the JVM parameter as+
+"-DMaximumMemoryUsageLimitForLists= <number>"+
+
stands for a numeric value, for example, 90%. When the
memory usage reaches 90%, the system takes prevention measures.
+
++++If the memory utilization is equal to or greater than the set value, it
checks if the
is set. If theGC parameter is not set, an error message is displayed.
++
*When i see this file i don't see these settings at al in the config file. I only see:*
+# Java Classpath (include wrapper.jar) Add class path elements as+
+# needed starting from 1+
+wrapper.java.classpath.1=../lib/wrapper.jar+
*Can i just place the GC param line and the -D MaximumMem line in the file if i want to tune the memory?
Thanks for your answer.
Kind regards,
André*
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/727674#727674]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120402/8213d30b/attachment.html
More information about the jboss-user
mailing list