tomcat5 /3gB switch on Windows

Z

zigzagdna

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.
 
A

Arne Vajhøj

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.

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
 
Z

zigzagdna

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
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.
 
A

Arne Vajhøj

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.

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
 
Z

zigzagdna

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- Hide quoted text -

- Show quoted text -

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top