|
From: serdsch <ser...@ev...> - 2008-01-18 15:56:16
|
Hi, I want to run JBoss as a Windows Service to avoid problems with starting the server from CruiseControl. I use the JavaServiceWrapper and wrote a wrapper.conf file with all necessary parameters to run JBoss suited for my test system. When I start JBoss with the batch script we used before, everything works just fine. When I start it with the wrapper the startup is much slower until it stops executing, throwing a heap space exception. This is how I define the memory allocation in the batch script: set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m I get exactly the same problems and exception starting JBoss when I comment this allocation, so I guess for some reason the JavaServiceWrapper can't get the memory allocation right. This is how I define it in wrapper.conf: rem JVM memory allocation pool parameters. Modify as appropriate. wrapper.java.additional.6=-Xms128m wrapper.java.additional.7=-Xmx512m Does any of you have an idea? What am I missing? Any help is highly appreciated... -- View this message in context: http://www.nabble.com/Wrapping-JBoss%3A-Problems-with-memory-definition-tp14952013p14952013.html Sent from the Java Service Wrapper mailing list archive at Nabble.com. |
|
From: Markus S. <sc...@gm...> - 2008-01-18 18:10:13
|
Hi Wrapper has two distinct properties for this: # Initial Java Heap Size (in MB) wrapper.java.initmemory=8 # Maximum Java Heap Size (in MB) wrapper.java.maxmemory=768 regards, Markus Schlegel 2008/1/18, serdsch <ser...@ev...>: > > > Hi, > > I want to run JBoss as a Windows Service to avoid problems with starting > the > server from CruiseControl. I use the JavaServiceWrapper and wrote a > wrapper.conf file with all necessary parameters to run JBoss suited for my > test system. When I start JBoss with the batch script we used before, > everything works just fine. When I start it with the wrapper the startup > is > much slower until it stops executing, throwing a heap space exception. > > This is how I define the memory allocation in the batch script: > > set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m > > I get exactly the same problems and exception starting JBoss when I > comment > this allocation, so I guess for some reason the JavaServiceWrapper can't > get > the memory allocation right. This is how I define it in wrapper.conf: > > rem JVM memory allocation pool parameters. Modify as appropriate. > wrapper.java.additional.6=-Xms128m > wrapper.java.additional.7=-Xmx512m > > Does any of you have an idea? What am I missing? > Any help is highly appreciated... > > > -- > View this message in context: > http://www.nabble.com/Wrapping-JBoss%3A-Problems-with-memory-definition-tp14952013p14952013.html > Sent from the Java Service Wrapper mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |
|
From: serdsch <ser...@ev...> - 2008-01-22 10:17:17
|
Thx for all your answers. I did it with the distinct properties instead of the java.additionals and it worked just fine. Regards, Sergio -- View this message in context: http://www.nabble.com/Wrapping-JBoss%3A-Problems-with-memory-definition-tp14952013p15015932.html Sent from the Java Service Wrapper mailing list archive at Nabble.com. |
|
From: Nathan W. <wr...@de...> - 2008-01-22 18:33:31
|
Hi Markus; Reading the documentation for the initmemory / maxmemory properties says that they're optional, that they can be commented out and the user can use the -Xmx/-Xms flags in the "additional" properties. What are the implications or side effects of not using initmemory / maxmemory, and instead setting the memory values manually? The scenario Sergio is describing seems to be valid per the docs. "If this property is set to 0 then it is also possible to specify the -Xmsparameter manually using the wrapper.java.additional.<n><http://wrapper.tanukisoftware.org/doc/english/prop-java-additional-n.html> property." Thanks Nathan On 1/18/08, Markus Schlegel <sc...@gm...> wrote: > > Hi > > Wrapper has two distinct properties for this: > > # Initial Java Heap Size (in MB) > wrapper.java.initmemory=8 > > # Maximum Java Heap Size (in MB) > wrapper.java.maxmemory=768 > > regards, > Markus Schlegel > > 2008/1/18, serdsch <ser...@ev...>: > > > > > > Hi, > > > > I want to run JBoss as a Windows Service to avoid problems with starting > > the > > server from CruiseControl. I use the JavaServiceWrapper and wrote a > > wrapper.conf file with all necessary parameters to run JBoss suited for > > my > > test system. When I start JBoss with the batch script we used before, > > everything works just fine. When I start it with the wrapper the startup > > is > > much slower until it stops executing, throwing a heap space exception. > > > > This is how I define the memory allocation in the batch script: > > > > set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m > > > > I get exactly the same problems and exception starting JBoss when I > > comment > > this allocation, so I guess for some reason the JavaServiceWrapper can't > > get > > the memory allocation right. This is how I define it in wrapper.conf: > > > > rem JVM memory allocation pool parameters. Modify as appropriate. > > wrapper.java.additional.6=-Xms128m > > wrapper.java.additional.7=-Xmx512m > > > > Does any of you have an idea? What am I missing? > > Any help is highly appreciated... > > > > > > -- > > View this message in context: > > http://www.nabble.com/Wrapping-JBoss%3A-Problems-with-memory-definition-tp14952013p14952013.html > > Sent from the Java Service Wrapper mailing list archive at Nabble.com. > > > > > > ------------------------------------------------------------------------- > > > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Wrapper-user mailing list > > Wra...@li... > > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > -- Nathan Wray nw...@de... -- |
|
From: Mantrao, N. <nm1...@nc...> - 2008-01-23 06:21:30
|
Hi, =20 Could anyone tell me how to "un-subscribe" from this mailing list. I have tried a couple of times, but all in vein.=20 Any help will be highly appreciated. =20 Thanks, Nikhil Mantrao. ________________________________ From: wra...@li... [mailto:wra...@li...] On Behalf Of Nathan Wray Sent: Wednesday, January 23, 2008 12:03 AM To: wra...@li... Subject: Re: [Wrapper-user] Wrapping JBoss: Problems with memory definition Hi Markus; Reading the documentation for the initmemory / maxmemory properties says that they're optional, that they can be commented out and the user can use the -Xmx/-Xms flags in the "additional" properties. =20 What are the implications or side effects of not using initmemory / maxmemory, and instead setting the memory values manually? The scenario Sergio is describing seems to be valid per the docs. "If this property is set to 0 then it is also possible to specify the -Xms parameter manually using the wrapper.java.additional.<n> <http://wrapper.tanukisoftware.org/doc/english/prop-java-additional-n.ht ml> property." Thanks Nathan On 1/18/08, Markus Schlegel <sc...@gm...> wrote:=20 Hi =09 Wrapper has two distinct properties for this: =09 # Initial Java Heap Size (in MB) wrapper.java.initmemory=3D8 =09 # Maximum Java Heap Size (in MB) wrapper.java.maxmemory=3D768 =09 regards, Markus Schlegel=20 =09 =09 2008/1/18, serdsch <ser...@ev...>:=20 =09 Hi, =09 I want to run JBoss as a Windows Service to avoid problems with starting the server from CruiseControl. I use the JavaServiceWrapper and wrote a wrapper.conf file with all necessary parameters to run JBoss suited for my=20 test system. When I start JBoss with the batch script we used before, everything works just fine. When I start it with the wrapper the startup is much slower until it stops executing, throwing a heap space exception.=20 =09 This is how I define the memory allocation in the batch script: =09 set JAVA_OPTS=3D%JAVA_OPTS% -Xms128m -Xmx512m =09 I get exactly the same problems and exception starting JBoss when I comment this allocation, so I guess for some reason the JavaServiceWrapper can't get=20 the memory allocation right. This is how I define it in wrapper.conf: =09 rem JVM memory allocation pool parameters. Modify as appropriate. wrapper.java.additional.6=3D-Xms128m wrapper.java.additional.7=3D-Xmx512m=20 =09 Does any of you have an idea? What am I missing? Any help is highly appreciated... =09 =09 -- View this message in context: http://www.nabble.com/Wrapping-JBoss%3A-Problems-with-memory-definition- tp14952013p14952013.html Sent from the Java Service Wrapper mailing list archive at Nabble.com. =09 =09 =09 ------------------------------------------------------------------------ -=20 This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/=20 _______________________________________________ Wrapper-user mailing list Wra...@li...=20 =09 https://lists.sourceforge.net/lists/listinfo/wrapper-user =09 =09 ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user=20 =09 =09 --=20 Nathan Wray nw...@de... --=20 |
|
From: Leif M. <le...@ta...> - 2008-01-23 13:57:34
|
Mantrao, The link is at the bottom of every email. https://lists.sourceforge.net/lists/listinfo/wrapper-user At the bottom of that page, simply enter the email address that you are subscribed as and then click unsubscribe. If you still have problems, email me directly and I'll remove you. Cheers, Leif Mantrao, Nikhil wrote: > Hi, > > Could anyone tell me how to "un-subscribe" from this mailing list. I > have tried a couple of times, but all in vein. > Any help will be highly appreciated. > > Thanks, > Nikhil Mantrao. > > ------------------------------------------------------------------------ > *From:* wra...@li... > [mailto:wra...@li...] *On Behalf Of > *Nathan Wray > *Sent:* Wednesday, January 23, 2008 12:03 AM > *To:* wra...@li... > *Subject:* Re: [Wrapper-user] Wrapping JBoss: Problems with memory > definition > > > Hi Markus; > > Reading the documentation for the initmemory / maxmemory properties > says that they're optional, that they can be commented out and the > user can use the -Xmx/-Xms flags in the "additional" properties. > > What are the implications or side effects of not using initmemory / > maxmemory, and instead setting the memory values manually? The > scenario Sergio is describing seems to be valid per the docs. > > "If this property is set to 0 then it is also possible to specify the > -Xms parameter manually using the wrapper.java.additional.<n> > <http://wrapper.tanukisoftware.org/doc/english/prop-java-additional-n.html>property." > > Thanks > Nathan > > > On 1/18/08, *Markus Schlegel* <sc...@gm... > <mailto:sc...@gm...>> wrote: > > Hi > > Wrapper has two distinct properties for this: > > # Initial Java Heap Size (in MB) > wrapper.java.initmemory=8 > > # Maximum Java Heap Size (in MB) > wrapper.java.maxmemory=768 > > regards, > Markus Schlegel > > 2008/1/18, serdsch <ser...@ev... > <mailto:ser...@ev...>>: > > > Hi, > > I want to run JBoss as a Windows Service to avoid problems > with starting the > server from CruiseControl. I use the JavaServiceWrapper and > wrote a > wrapper.conf file with all necessary parameters to run JBoss > suited for my > test system. When I start JBoss with the batch script we used > before, > everything works just fine. When I start it with the wrapper > the startup is > much slower until it stops executing, throwing a heap space > exception. > > This is how I define the memory allocation in the batch script: > > set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m > > I get exactly the same problems and exception starting JBoss > when I comment > this allocation, so I guess for some reason the > JavaServiceWrapper can't get > the memory allocation right. This is how I define it in > wrapper.conf: > > rem JVM memory allocation pool parameters. Modify as appropriate. > wrapper.java.additional.6=-Xms128m > wrapper.java.additional.7=-Xmx512m > > Does any of you have an idea? What am I missing? > Any help is highly appreciated... > > > -- > View this message in context: > http://www.nabble.com/Wrapping-JBoss%3A-Problems-with-memory-definition-tp14952013p14952013.html > Sent from the Java Service Wrapper mailing list archive at > Nabble.com <http://Nabble.com>. > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > <http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/> > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > <mailto:Wra...@li...> > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > <mailto:Wra...@li...> > https://lists.sourceforge.net/lists/listinfo/wrapper-user > <https://lists.sourceforge.net/lists/listinfo/wrapper-user> > > > > > -- > Nathan Wray > nw...@de... <mailto:nw...@de...> > -- > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |
|
From: Mantrao, N. <nm1...@nc...> - 2008-01-24 06:21:04
|
Leif, Thanks for the information. I entered my email address at the url specified in the past as well, but it did not help. I have done the same thing again. If I still receive any mail from the mailing list, I will get back to you. Thanks, Nikhil.=20 -----Original Message----- From: wra...@li... [mailto:wra...@li...] On Behalf Of Leif Mortenson Sent: Wednesday, January 23, 2008 7:27 PM To: wra...@li... Subject: Re: [Wrapper-user] Wrapping JBoss: Problems with memory definition Mantrao, The link is at the bottom of every email. https://lists.sourceforge.net/lists/listinfo/wrapper-user At the bottom of that page, simply enter the email address that you are subscribed as and then click unsubscribe. If you still have problems, email me directly and I'll remove you. Cheers, Leif Mantrao, Nikhil wrote: > Hi, > =20 > Could anyone tell me how to "un-subscribe" from this mailing list. I=20 > have tried a couple of times, but all in vein. > Any help will be highly appreciated. > =20 > Thanks, > Nikhil Mantrao. > > ---------------------------------------------------------------------- > -- > *From:* wra...@li... > [mailto:wra...@li...] *On Behalf Of=20 > *Nathan Wray > *Sent:* Wednesday, January 23, 2008 12:03 AM > *To:* wra...@li... > *Subject:* Re: [Wrapper-user] Wrapping JBoss: Problems with memory=20 > definition > > > Hi Markus; > > Reading the documentation for the initmemory / maxmemory properties=20 > says that they're optional, that they can be commented out and the=20 > user can use the -Xmx/-Xms flags in the "additional" properties. > > What are the implications or side effects of not using initmemory /=20 > maxmemory, and instead setting the memory values manually? The=20 > scenario Sergio is describing seems to be valid per the docs. > > "If this property is set to 0 then it is also possible to specify the=20 > -Xms parameter manually using the wrapper.java.additional.<n>=20 > <http://wrapper.tanukisoftware.org/doc/english/prop-java-additional-n.ht ml>property." > > Thanks > Nathan > > > On 1/18/08, *Markus Schlegel* <sc...@gm...=20 > <mailto:sc...@gm...>> wrote: > > Hi > > Wrapper has two distinct properties for this: > > # Initial Java Heap Size (in MB) > wrapper.java.initmemory=3D8 > > # Maximum Java Heap Size (in MB) > wrapper.java.maxmemory=3D768 > > regards, > Markus Schlegel > > 2008/1/18, serdsch <ser...@ev... > <mailto:ser...@ev...>>: > > > Hi, > > I want to run JBoss as a Windows Service to avoid problems > with starting the > server from CruiseControl. I use the JavaServiceWrapper and > wrote a > wrapper.conf file with all necessary parameters to run JBoss > suited for my > test system. When I start JBoss with the batch script we used > before, > everything works just fine. When I start it with the wrapper > the startup is > much slower until it stops executing, throwing a heap space > exception. > > This is how I define the memory allocation in the batch script: > > set JAVA_OPTS=3D%JAVA_OPTS% -Xms128m -Xmx512m > > I get exactly the same problems and exception starting JBoss > when I comment > this allocation, so I guess for some reason the > JavaServiceWrapper can't get > the memory allocation right. This is how I define it in > wrapper.conf: > > rem JVM memory allocation pool parameters. Modify as appropriate. > wrapper.java.additional.6=3D-Xms128m > wrapper.java.additional.7=3D-Xmx512m > > Does any of you have an idea? What am I missing? > Any help is highly appreciated... > > > -- > View this message in context: > http://www.nabble.com/Wrapping-JBoss%3A-Problems-with-memory-definition- tp14952013p14952013.html > Sent from the Java Service Wrapper mailing list archive at > Nabble.com <http://Nabble.com>. > > > =20 > ---------------------------------------------------------------------- > --- > > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > <http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/> > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > <mailto:Wra...@li...> > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > <mailto:Wra...@li...> > https://lists.sourceforge.net/lists/listinfo/wrapper-user > <https://lists.sourceforge.net/lists/listinfo/wrapper-user> > > > > > -- > Nathan Wray > nw...@de... <mailto:nw...@de...> > -- > ---------------------------------------------------------------------- > -- > > ---------------------------------------------------------------------- > --- This SF.net email is sponsored by: Microsoft Defy all challenges.=20 > Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ---------------------------------------------------------------------- > -- > > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > =20 ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: Markus S. <sc...@gm...> - 2008-01-23 07:02:33
|
HI I only used the init-/maxmemory options, and never tested the other ones. Maybe they even work, but sergio did not comment them out in his wrapper.conf? Markus 2008/1/22, Nathan Wray <wr...@de...>: > > > Hi Markus; > > Reading the documentation for the initmemory / maxmemory properties says > that they're optional, that they can be commented out and the user can use > the -Xmx/-Xms flags in the "additional" properties. > > What are the implications or side effects of not using initmemory / > maxmemory, and instead setting the memory values manually? The scenario > Sergio is describing seems to be valid per the docs. > > "If this property is set to 0 then it is also possible to specify the -Xmsparameter manually using the > wrapper.java.additional.<n><http://wrapper.tanukisoftware.org/doc/english/prop-java-additional-n.html> > property." > > Thanks > Nathan > > > On 1/18/08, Markus Schlegel <sc...@gm...> wrote: > > > Hi > > > > Wrapper has two distinct properties for this: > > > > # Initial Java Heap Size (in MB) > > wrapper.java.initmemory=8 > > > > # Maximum Java Heap Size (in MB) > > wrapper.java.maxmemory=768 > > > > regards, > > Markus Schlegel > > > > 2008/1/18, serdsch <ser...@ev...>: > > > > > > > > > Hi, > > > > > > I want to run JBoss as a Windows Service to avoid problems with > > > starting the > > > server from CruiseControl. I use the JavaServiceWrapper and wrote a > > > wrapper.conf file with all necessary parameters to run JBoss suited > > > for my > > > test system. When I start JBoss with the batch script we used before, > > > everything works just fine. When I start it with the wrapper the > > > startup is > > > much slower until it stops executing, throwing a heap space exception. > > > > > > > > > This is how I define the memory allocation in the batch script: > > > > > > set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m > > > > > > I get exactly the same problems and exception starting JBoss when I > > > comment > > > this allocation, so I guess for some reason the JavaServiceWrapper > > > can't get > > > the memory allocation right. This is how I define it in wrapper.conf: > > > > > > rem JVM memory allocation pool parameters. Modify as appropriate. > > > wrapper.java.additional.6=-Xms128m > > > wrapper.java.additional.7=-Xmx512m > > > > > > Does any of you have an idea? What am I missing? > > > Any help is highly appreciated... > > > > > > > > > -- > > > View this message in context: > > > http://www.nabble.com/Wrapping-JBoss%3A-Problems-with-memory-definition-tp14952013p14952013.html > > > Sent from the Java Service Wrapper mailing list archive at Nabble.com. > > > > > > > > > ------------------------------------------------------------------------- > > > > > > This SF.net email is sponsored by: Microsoft > > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > _______________________________________________ > > > Wrapper-user mailing list > > > Wra...@li... > > > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Wrapper-user mailing list > > Wra...@li... > > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > > > > -- > Nathan Wray > nw...@de... > -- > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |
|
From: Leif M. <le...@ta...> - 2008-01-23 13:55:36
|
Nathan, Those memory properties have been around since the first versions of the Wrapper. They do nothing other than add the -Xmx and -Xms arguments to the JVM when it is launched. If you comment them out you can safely define them yourself. If they are both there however then you will get the memory arguments twice. If you want to verify the generated command line, do one of the following: wrapper.debug=true wrapper.java.command.loglevel=INFO Cheers, Leif Nathan Wray wrote: > > Hi Markus; > > Reading the documentation for the initmemory / maxmemory properties > says that they're optional, that they can be commented out and the > user can use the -Xmx/-Xms flags in the "additional" properties. > > What are the implications or side effects of not using initmemory / > maxmemory, and instead setting the memory values manually? The > scenario Sergio is describing seems to be valid per the docs. > > "If this property is set to 0 then it is also possible to specify the > -Xms parameter manually using the wrapper.java.additional.<n> > <http://wrapper.tanukisoftware.org/doc/english/prop-java-additional-n.html>property." > > Thanks > Nathan > > > On 1/18/08, * Markus Schlegel* <sc...@gm... > <mailto:sc...@gm...>> wrote: > > Hi > > Wrapper has two distinct properties for this: > > # Initial Java Heap Size (in MB) > wrapper.java.initmemory=8 > > # Maximum Java Heap Size (in MB) > wrapper.java.maxmemory=768 > > regards, > Markus Schlegel > > 2008/1/18, serdsch <ser...@ev... > <mailto:ser...@ev...>>: > > > Hi, > > I want to run JBoss as a Windows Service to avoid problems > with starting the > server from CruiseControl. I use the JavaServiceWrapper and > wrote a > wrapper.conf file with all necessary parameters to run JBoss > suited for my > test system. When I start JBoss with the batch script we used > before, > everything works just fine. When I start it with the wrapper > the startup is > much slower until it stops executing, throwing a heap space > exception. > > This is how I define the memory allocation in the batch script: > > set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m > > I get exactly the same problems and exception starting JBoss > when I comment > this allocation, so I guess for some reason the > JavaServiceWrapper can't get > the memory allocation right. This is how I define it in > wrapper.conf: > > rem JVM memory allocation pool parameters. Modify as appropriate. > wrapper.java.additional.6=-Xms128m > wrapper.java.additional.7=-Xmx512m > > Does any of you have an idea? What am I missing? > Any help is highly appreciated... > |