Re: Tomcat with 8 GB memory

2007-07-27 Thread Joe Nathan
Alexey Solofnenko-2 wrote: > > No, each of two 4GB processes will have only a half of the objects under > the same load. And I heard that GC does not scale linear with heap size. > And this is without multi-threading performance considerations. As > usual, your mileage may vary and only test

RE: Tomcat with 8 GB memory

2007-07-27 Thread Joe Nathan
Caldarale, Charles R wrote: > >> From: Alexey Solofnenko [mailto:[EMAIL PROTECTED] >> Subject: Re: Tomcat with 8 GB memory >> >> I was under impression that GC does not scale linearly. That >> means one 8GB process will be slower than two 4GB processes. > Not true. The time of a full GC usi

Re: Tomcat with 8 GB memory

2007-07-27 Thread Joe Nathan
Leon Rosenberg-3 wrote: > > Sorry, this just sounds plain wrong. If a 64 bit processor comes with > 64 bit register it means that it can make an integer 64 bit addition > (long) in one operation, > It does in single operation, but it taks twices clock pulse than 32bit! You cannot perform bina

Re: Tomcat with 8 GB memory

2007-07-27 Thread Joe Nathan
Christopher Schultz-2 wrote: > > 64-bit Windows is not popular because it costs much more than the 32-bit > versions (though MS will send you a 64-bit upgrade disk for a small fee > if you already own a copy of Vista). Also, most people out there don't > know what the hell a 64-bit OS is. > >

Re: Tomcat with 8 GB memory

2007-07-27 Thread Joe Nathan
ronatartifact wrote: > > This is what Microsoft has to say on 64 bit using Websphere. > Basically 32bit better for small volume servers that can live with a 2GB > memory ceiling. > If you have applications that can benefit from memory bigger thab 2 or 4GB, your application is data intensive. H

Re: Tomcat with 8 GB memory

2007-07-27 Thread Joe Nathan
Leon Rosenberg-3 wrote: > > Could you provide some additional information? > So far 64bit machines always outperformed 32bit machines in my > personal benchmarks as well as in third party benchmarks I stumbled > upon. > > So it would be great if you could provide some links or explanations. >

RE: Tomcat with 8 GB memory

2007-07-27 Thread Joe Nathan
Caldarale, Charles R wrote: > >> I don't think JVMs have used stop-the-world GC for some time, now. > Strictly speaking, they still do, but global suspends occur much, much > less frequently and for much shorter periods, so in most environments > it's of negligible impact. > http://www.rosellad

Re: Tomcat with 8 GB memory

2007-07-27 Thread Joe Nathan
Christopher Schultz-2 wrote: > > Joe Nathan wrote: >> I would discourage to use such machine! 8GB means you are using 64 bit >> machine which will be much slower than 32 bit machines. > Huh? Why would a 64-bit machine run slower than a 32-bit machine? > Overall pe

Re: Tomcat with 8 GB memory

2007-07-26 Thread Joe Nathan
I would discourage to use such machine! 8GB means you are using 64 bit machine which will be much slower than 32 bit machines. Big memory is useful ONLY if you have applications that can benefit big memory such as database systems. In Java, if you use lots of memory and create lots of objects, you

Re: Apache HTTP Server - Tomcat and PHP

2007-07-18 Thread Joe Nathan
Munna Dee wrote: > > Is it that I can run Apache HTTP Server on same(i.e on its own) port and > run Tomcat on different port to get it done? Can anybody please tell your > expert opinions on this? Thanks! > Yes! Everyone is doing it. -- View this message in context: http://www.nabble.com/A

Re: Axis 2, POJO, Exceptions and Faults

2007-07-15 Thread Joe Nathan
albert quinn wrote: > > I've been trying to do something like that but i couldn't make it > work . My test Web Service returns a String and the client receives > the AxisFault/RemoteException message throwed from the Web Service as > it was the returned value from the Web Service !

Re: Read and write inside WEB-INF

2007-07-14 Thread Joe Nathan
This is quite tricky issue. I use the following method. Basically it locate the directory where you place your designated class definition! static String base; static { try { // use an object instance which is part of service! my.package.MyObject rm