Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2007

Tip: Looking for answers? Try searching our database.

tomcat5 /3gB switch on Windows

Thread view: 
zigzagdna@yahoo.com - 03 Dec 2007 23:45 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
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.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.