I have a quick question that someone might be able to answer. We have recently built a java library (jdk 1.5) that is referenced within a web service that runs on a JBoss application server v4.2.3. The performance of the web service on a standard Windows XP machine is satisfactory and takes about 1.5 seconds for the whole process. However when we deploy the web service on a Solaris JBoss machine we notice a significant decrease in performance although the virtual server where Solaris is hosted is much more powerful. The overall processing time increases to 3.6 seconds when one would expect a much better overall speed from the windows machine. The windows machine is a simple Pentium desktop; on the other hand Solaris runs on a virtual server hosted on a Sun Sparc machine. The first thing that came to mind is Garbage Collection as this library uses a lot of arrays, arraylists and frequently allocates a lot of new objects. Has anyone had a similar experience or ideas of what might be happening?