Hi,
i need help.

Hi,
I am using mina 2.0.0 fo ra simple policy server. (see attachment)

It starts a server acceptor but it takes a lot of memory

before:

*             total       used       free     shared    buffers     cached
Mem:           924        287        636          0          0          0
-/+ buffers/cache:        287        636
Swap:            0          0          0*

after:
root@ve:/var/www/java/
PolicyServer# free -m

*             total       used       free     shared    buffers     cached
Mem:           924        633        290          0          0          0
-/+ buffers/cache:        633        290
Swap:            0          0          0*

about *420mb *so i cant start the other server because i get this error :

Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

There is a way i can reduce the memory needed by mina ?
Thanks for you time

Francesco

Reply via email to