[ale] A faster Java box - any tips ??
Christopher Fowler
cfowler at outpostsentinel.com
Sun Oct 9 18:22:35 EDT 2005
Another thing is abstractions. (a.k.a Frameworks). These things create
an object for everything including the kitchen sink and this will chew
through memory.
In our application we have the following path of data
SQL -> Tomcat -> XML -> XSLT -> HTML.
We found out that the XML + XSLT thing can limit what we can do just by
the number of stuff that goes on. When it does run into issues I get
'Broken Pipe' errors in my catalina log files. The JVM ran out of
memory try to render a web page.
On Sun, 2005-10-09 at 16:01 -0400, Jeff Hubbs wrote:
> Barring what David said, whenever you've got a machine that's trying to
> do more than one thing with disk I/O at once - especially if the two
> things are related and therefore land right on top of each other in time
> and/or if read operations and write operations are mixed, it's always
> good to break up the I/O onto separate drives that hang off of separate
> controllers. The separate controller thing is especially important if
> you're using PATA.
>
> Jeff
>
> On Sun, 2005-10-09 at 12:47 -0400, David Corbin wrote:
> > The most important thing is to give Java (including Eclipse) enough heap
> > space? How much heap space are you giving Eclispe?
> >
> > David
> > On Sunday 09 October 2005 12:33 pm, Greg wrote:
> > > I am looking for any tips/comments/advice on buying a fast machine to do
> > > J2EE on. I am developing in Eclipse and working on large web applications
> > > and it seems that my current box is pretty slow. I am using the one box to
> > > run my database, run whichever AS/Servlets container I need (JBoss, Resin,
> > > or plain old Tomcat), and I try to only recompile whatever has changed and
> > > not the whole thing. I started out with all of my web apps in the same
> > > workspace but since it slowed it down I now only load one at a time and
> > > pull up any other pages in another app individually if I need to refer to
> > > them.
> > >
> > > I have tried developing on a dual 64-bit Opteron (2.0 GHz) with 2 GB of
> > > memory and on a 3.6 GHz HP laptop with 1 GB of memory and the laptop seems
> > > way faster than the dual box. I have been told that the most important
> > > thing is clock speed and that using 2 processors is irrelevant. Is this
> > > correct ? Is AMD's FX line of processors (2.8 GHz) faster than Intel's P4
> > > (I think around 3.74 GHz) ? Does RAM matter past 1 GB ?? Any opinions of
> > > using a SCSI HD/PCI card vs. a SATA HD through the motherboard ?
> > >
> > > I have tried to Google for an answer to this but have found nothing of
> > > substance. My knowledge of hardware with regards to processors and Java is
> > > sadly lacking.
> > >
> > > I would appreciate any tips / advice / comments. Thanks,
> > >
> > > Greg
> > >
> > > - apologies to any that are on the ajug-members list as well as this one.
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://www.ale.org/mailman/listinfo/ale
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list