elk007007 | 10 Jun 16:17

Problem with RAM memory in Windows 2003 64 bits

Hi Jpos friends: 

I am developing a server with JPOS framework and I see the following 
behavior in the server process: 

I compile a simple server ( like the JPOS Users Manual). This server 
only respondes with RSP CODE 00. That´s all what it does. I create a 
jar file and run it in windows XP 32 bits, it works fine and the RAM 
memory of the process works very well. 

I run the same process in a Windows 2003 Server 64 bits, with jdk-
6u6- 
windows-x64, but I see that the process doesn´t works very well with 
the RAM memory. For instance, I see that for every connection i send 
to this process, the RAM memory increase exponentially and doesn´t 
free the used memory. 

For example, the process in 64 bits starts with 25.000 KB and for 
every connection i send to it, the RAM memory of the process 
increments in 50 or 60 KB, but never get to stabilize, it always 
increments!!! 

1) 25.000 KB - Process Starts 
2) 25.050 KB - 1 Connection attended 
3) 25.100 KB - 1 Connection attended 
etc... 

My question is what can i do to get my jpos process working fine in 
windows 64 bits. Why the used memory of every connection isn´t 
freed? 
(Continue reading)

Victor Salaman | 10 Jun 16:32

Re: Problem with RAM memory in Windows 2003 64 bits

Hi Elkin:

You should not be looking at this on a per-connection basis, but what
happens after garbage collection. Over the years, the jPos code has
been profiled many times and is in production in many sites all over
the world.

For better analysis you might want to download a profiler such as
YourKit :) It's always a good idea to do this kind of analysis on your
code before you take it to production.

Cheers,

Victor Salaman

On Tue, Jun 10, 2008 at 10:21 AM, elk007007 <elk007007@...> wrote:
> Hi Jpos friends:
>
> I am developing a server with JPOS framework and I see the following
> behavior in the server process:
>
> I compile a simple server ( like the JPOS Users Manual). This server
> only respondes with RSP CODE 00. That´s all what it does. I create a
> jar file and run it in windows XP 32 bits, it works fine and the RAM
> memory of the process works very well.
>
> I run the same process in a Windows 2003 Server 64 bits, with jdk-
> 6u6-
> windows-x64, but I see that the process doesn´t works very well with
> the RAM memory. For instance, I see that for every connection i send
(Continue reading)


Gmane