Craig,
    thanks for your reply.  This is my current line:

/usr/java/bin/java -jar /root/bin/dst/kiosk.jar

So is this what it should look like?:

/usr/java/bin/java -client -Xms16m -Xmx32m -jar /root/bin/dst/kiosk.jar

I up'd the ram amount to be safe.




On 7/26/10 10:43 AM, Craig Bender wrote:
You can also control the initial heap and max heap size with the -Xms<size> and -Xmx<size> arguments

For example if you wanted to set an initial of 8MB and a Max of 16MB you'd do

java -Xms8m -Xmx16m YourJava.app










Craig Bender wrote:
Can you try adding -client argument to your java argument?



CJ Keist wrote:
Looking to see if anyone else has seen this. Running SRSS 4.2 latest patches installed on Solaris 10x86. I have a simple java gui for our kiosk sessions. See attached pic. It was developed using NetBeans 6.8. The entire Java jar file with libs is 156Kb in size. But when I looking at the kiosk sessions this little java app is chewing up 571MB of memory!

   PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP
  4266 engr352   571M   60M sleep   59    0   0:00:04 0.0% java/31
4264 engr352 1452K 1000K sleep 59 0 0:00:00 0.0% generic-session/1
  4232 engr352  4540K 2240K sleep   59    0   0:00:00 0.0% utaudio/5
  4260 engr352  1976K  968K sleep   59    0   0:00:00 0.0% kioskcrit/1
  4182 engr352  1664K 1168K sleep   59    0   0:00:00 0.0% Xsession/1
  3953 engr352    22M   14M sleep   59    0   0:00:00 0.0% Xnewt/1
  4237 engr352  3340K 1696K sleep   59    0   0:00:00 0.0% utslaunch/1

Is this typical of Java?


------------------------------------------------------------------------


------------------------------------------------------------------------

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

--
C. J. Keist                     Email: [email protected]
UNIX/Network Manager            Phone: 970-491-0630
Engineering Network Services    Fax:   970-491-5569
College of Engineering, CSU
Ft. Collins, CO 80523-1301

All I want is a chance to prove 'Money can't buy happiness'

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to