I want to use /3GB switch on Windows 32, so tomcat can access up to
3GB memory (instead of 2GB memory). I had created a thread in the past
and got useful information, but I now I want to use this feature in my
work and have some more questions.
I am using tomcat 5.5. Is tomcat5.exe cabable of accessing 3GB
memory, if not how I can enable it. I have read that something has to
be done to the executable. If it is Windows command, what is the
Windows command. Appreciate if someone can point me the procedure for
anabling an executable to use memory beyound 2GB using 3GB switch.
When I run tomcat5.exe, I do not see any java processes, so java is
somehow combined in tomcat5.exe, so I need to enable whatever needs to
be done in this excutable.
Thanks a lot.
Arne Vajhøj - 04 Dec 2007 03:02 GMT
> I want to use /3GB switch on Windows 32, so tomcat can access up to
> 3GB memory (instead of 2GB memory). I had created a thread in the past
[quoted text clipped - 10 lines]
> somehow combined in tomcat5.exe, so I need to enable whatever needs to
> be done in this excutable.
Tomcat itself does not care. It is purely a JVM thing.
If you use the BAT file to start Tomcat then the BEA java.exe
will probably already have the correct setting.
If you want to use the service then try:
editbin /LARGEADDRESSAWARE foobar.exe
Arne
zigzagdna@yahoo.com - 04 Dec 2007 06:07 GMT
> zigzag...@yahoo.com wrote:
> > I want to use /3GB switch on Windows 32, so tomcat can access up to
[quoted text clipped - 22 lines]
>
> Arne
Arne:
As always thanks a lot for your useful response. So if foobar.exe
calls code in dll's one does not have to dnaything to dll's to make
them largeaddressaware. Pardon my ignorance of Windows DLL's.
I found an article:
http://download.boulder.ibm.com/ibmdl/pub/software/dw/jdk/diagnosis/dw3gbswitch3.pdf
which explains how /3GB works in conjunction with jvm but I am still
not clear about .exe and dll's.
Arne Vajhøj - 04 Dec 2007 23:14 GMT
>> Tomcat itself does not care. It is purely a JVM thing.
>>
[quoted text clipped - 4 lines]
>>
>> editbin /LARGEADDRESSAWARE foobar.exe
> So if foobar.exe
> calls code in dll's one does not have to dnaything to dll's to make
[quoted text clipped - 4 lines]
> which explains how /3GB works in conjunction with jvm but I am still
> not clear about .exe and dll's.
I belive it is only EXE file.
But even if it were necesarry to do it on dll's, then it would already
have been done on the dll's that comes with Java (for the Java version
that support it).
Arne
zigzagdna@yahoo.com - 05 Dec 2007 00:26 GMT
> zigzag...@yahoo.com wrote:
> >> Tomcat itself does not care. It is purely a JVM thing.
[quoted text clipped - 23 lines]
>
> - Show quoted text -
Thanks.