|
From: Tony A. <Ton...@ru...> - 2005-03-02 18:53:26
|
Thank you so much, this is basically what I have found also. I am able to = allocate 1536M and no more.=20 =20 thanks! =20 Tony >>> gi...@gi... 03/02/05 12:39PM >>> As I understand it, and I could be wrong... 32-bit windows has limits on = the maximum contiguous memory a process can allocate to itself (About = 2GB). Plus, there is some overheard with the JVM and associated objects. = Depending on the machine you have and your JVM, you probably will not be = able to allocate more than 1.5 GB. The most I've ever been able to = allocate on a 32-bit Windows box with a 1.4 JRE is 1450M. =20 For more info on this see: http://forum.java.sun.com/thread.jspa?forumID=3D37&threadID=3D201718=20 -Gil At 07:59 AM 3/2/2005, you wrote: Hello, =20 I have the wrapper configured using method 1 and working but wanted to = crank up the amount of memory available to the JVM so I set the wrapper.jav= a.initmemory to be 1024 and the wrapper.java.maxmemory to be 2048. = Previously I had them set to 1024 for init and 1280 for max and it starts = the application fine. If I try to use a value bigger than 1280 it always = fails. Has anyone else experienced this? If so, how did you get around = this?=20 =20 I am using this on a Window2003 server with 4GB ram and about 3.5GB = unutilized? I am using JVM 1.4.2_06 on ther server and using it to start = JBoss 3.2.7. Any help would be greatly appreciated. =20 Here is my wrapper.conf if it is of any help. =20 I get an error when I try to start service of: =20 Event Type: Information Event Source: OneWebApp Event Category: jvm2=20 Event ID: 100 Date: 3/2/2005 Time: 9:51:38 AM User: N/A Computer: RCAWINAPPDEV Description: Could not reserve enough space for object heap #******************************************************************** # Wrapper Version 3.1.2 #******************************************************************** =20 # Java Application wrapper.java.command=3DD:\java\j2sdk1.4.2_06\bin\java =20 # Java Main class. This class must implement the WrapperListener = interface # or guarantee that the WrapperManager class is initialized. Helper # classes are provided to do this for you. See the Integration section # of the documentation for details. wrapper.java.mainclass=3Dorg.tanukisoftware.wrapper.WrapperSimpleApp =20 # Java Classpath (include wrapper.jar) Add class path elements as # needed starting from 1 wrapper.java.classpath.1=3DD:\JBoss\jboss_tomcat\jboss\server\tomcatEclipse= _Ryerson\lib\wrapper.jar wrapper.java.classpath.2=3DD:\java\j2sdk1.4.2_06\lib\tools.jar wrapper.java.classpath.3=3DD:\JBoss\jboss_tomcat\jboss\bin\run.jar =20 # Java Library Path (location of Wrapper.DLL or libwrapper.so) wrapper.java.library.path.1=3DD:\JBoss\jboss_tomcat\jboss\server\tomcatEcli= pse_Ryerson\lib =20 # Java Additional Parameters - Remote Debugging Disabled (default) # wrapper.java.additional.1=3D-server -Dprogram.name=3DD:\JBoss\jboss_tomca= t\jboss\bin\run.bat # wrapper.java.additional.2=3D-Dpropfile=3DD:\RcDepWarJB_Ryerson\summit\ass= nlist.properties # wrapper.java.additional.3=3D-Dcontextfile=3DD:\RcDepWarJB_Ryerson\summit\= context.properties # wrapper.java.additional.4=3D-Drc.plugins=3DD:\RcPlugins # wrapper.java.additional.5=3D-Drc.serverConfigFile=3DD:\RcDepWarJB_Ryerson= \summit\config.properties # wrapper.java.additional.6=3D-Drc.debugLevel=3D2 -XX:MaxPermSize=3D256m = -XX:PermSize=3D64m -Djava.rmi.server.hostname=3Doneappdev.ruffalocody.com =20 # Java Additional Parameters - Remote Debugging Enabled wrapper.java.additional.1=3D-server -Dprogram.name=3DD:\JBoss\jboss_tomcat\= jboss\bin\run.bat wrapper.java.additional.2=3D-Dpropfile=3DD:\RcDepWarJB_Ryerson\summit\assnl= ist.properties wrapper.java.additional.3=3D-Dcontextfile=3DD:\RcDepWarJB_Ryerson\summit\co= ntext.properties wrapper.java.additional.4=3D-Drc.plugins=3DD:\RcPlugins -Drc.serverConfigFi= le=3DD:\RcDepWarJB_Ryerson\summit\config.properties wrapper.java.additional.5=3D-Drc.debugLevel=3D2 -XX:MaxPermSize=3D256m = -XX:PermSize=3D64m -Djava.rmi.server.hostname=3Doneappdev.ruffalocody.com wrapper.java.additional.6=3D-Xdebug -Xrunjdwp:server=3Dy,transport=3Ddt_soc= ket,address=3D4143,suspend=3Dn =20 # Initial Java Heap Size (in MB) wrapper.java.initmemory=3D1024 =20 # Maximum Java Heap Size (in MB) wrapper.java.maxmemory=3D1280 =20 # Application parameters. Add parameters as needed starting from 1 wrapper.app.parameter.1=3Dorg.jboss.Main wrapper.app.parameter.2=3D-c wrapper.app.parameter.3=3DtomcatEclipse_Ryerson =20 #******************************************************************** # Wrapper Logging Properties #******************************************************************** # Format of output for the console. (See docs for formats) wrapper.console.format=3DLPTM =20 # Log Level for console output. (See docs for log levels) wrapper.console.loglevel=3DNONE =20 # Log file to use for wrapper output logging. wrapper.logfile=3D =20 # Format of output for the log file. (See docs for formats) wrapper.logfile.format=3DLPTM =20 # Log Level for log file output. (See docs for log levels) wrapper.logfile.loglevel=3DNONE =20 # Maximum size that the log file will be allowed to grow to before # the log is rolled. Size is specified in bytes. The default value # of 0, disables log rolling. May abbreviate with the 'k' (kb) or # 'm' (mb) suffix. For example: 10m =3D 10 megabytes. wrapper.logfile.maxsize=3D0 =20 # Maximum number of rolled log files which will be allowed before old # files are deleted. The default value of 0 implies no limit. wrapper.logfile.maxfiles=3D0 =20 # Log Level for sys/event log output. (See docs for log levels) wrapper.syslog.loglevel=3DDEBUG =20 #******************************************************************** # Wrapper Windows Properties #******************************************************************** # Title to use when running as a console wrapper.console.title=3DRuffaloCODY One Web Application Ryerson =20 #******************************************************************** # Wrapper Windows NT/2000/XP Service Properties #******************************************************************** # WARNING - Do not modify any of these properties when an application # using this configuration file has been installed as a service. # Please uninstall the service before modifying this section. The # service can then be reinstalled. =20 # Name of the service wrapper.ntservice.name=3DOneWebAppRyerson =20 # Display name of the service wrapper.ntservice.displayname=3DRuffaloCODY One Web Application Ryerson =20 # Description of the service wrapper.ntservice.description=3DRuns the RuffaloCODY One Web Application = Ryerson on JBoss =20 # Service dependencies. Add dependencies as needed starting from 1 wrapper.ntservice.dependency.1=3D =20 # Mode in which the service is installed. AUTO_START or DEMAND_START wrapper.ntservice.starttype=3DAUTO_START =20 # Priority at which the service is run. NORMAL, LOW, HIGH, or # REALTIME wrapper.ntservice.process_priority=3DNORMAL =20 # Allow the service to interact with the desktop. wrapper.ntservice.interactive=3Dfalse =20 =20 =20 =20 thanks, =20 Tony Awbrey =20 RuffaloCODY, LLC. Phone: 319.730.2480 Fax: 319.362.7457 =20 Address: 65 Kirkwood North Road SW Cedar Rapids, IA 52404 =20 IBM Certified Specialist -- iSeries Technical Solutions Design V4R5 iSeries Solution Sales V5R3 --------------------------------------------------------------------- Gil Adam ga...@in...=20 Extension: 430 Instant Messenger: AnswerGil=20 |