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 / Virtual Machine / October 2003

Tip: Looking for answers? Try searching our database.

How to use 4GB RAM on Windows 2000 using java

Thread view: 
Anurag Doshi - 24 Oct 2003 20:15 GMT
Hi,

We use a third party application that parses weblogs and generates
statistics.

The application gives OutOfMemory exception when the weblogs are hugs.

I am wondering if doing "editbin.exe /LARGEADDRESSAWARE java.exe" is
going to help.

I have tried all combinations of -Xms, -Xmx, NewSize, MaxNewSize

I have 4GB of physical RAM and I have /3GB in boot.ini in Windows 2000
Advanced Server.

Thanks,
Anurag.
Roedy Green - 24 Oct 2003 20:37 GMT
>We use a third party application that parses weblogs and generates
>statistics.

Would it be possible as a kludge to break up the logs and let the
third party stuff see only a chunk at a time?

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Anurag Doshi - 27 Oct 2003 18:51 GMT
Even if I could, some day I am going to reach the limit.
Glen Herrmannsfeldt - 28 Oct 2003 07:42 GMT
> Hi,
>
[quoted text clipped - 10 lines]
> I have 4GB of physical RAM and I have /3GB in boot.ini in Windows 2000
> Advanced Server.

Do you want a JVM that does PAE, or something similar?

I would think it should be possible to parse weblogs without reading the
whole thing into memory first.

-- glen
Bill Scott - 28 Oct 2003 16:08 GMT
I think you'll have to take the other folks advice (splitting the work
somehow) because there seems to be a ~1.5 Gig memory limit on Win2K

http://java.sun.com/docs/hotspot/PerformanceFAQ.html#22

-Bill
Anurag Doshi - 28 Oct 2003 18:39 GMT
Exactly, I want a JVM which does PAE or something similar.
Glen Herrmannsfeldt - 30 Oct 2003 08:01 GMT
> Exactly, I want a JVM which does PAE or something similar.

There is a lot of overhead to PAE, and a fair amount of work to be able to
use it.

-- glen


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.