Memory leak in JSC ?

Hi,

I'm running JSC update 1 (hotfix 3) on a Win XP box.

After starting and opening first page, JSC uses about 210MB of RAM. However after few hours of work - creating pages, building, deploying, etc. amount of allocated RAM increases up to ~480MB. Why garbage collector can't recycle almost 300MB ? All the time I work with one project - about 65 jsp pages.

best regards

Grzegorz

[417 byte] By [Grzegorz.Kluczeka] at [2007-11-27 4:04:32]
# 1

Just making sure you have the performance hot fix:

Release 2 Update 1 Hot Fixes, performance enhancement:

http://developers.sun.com/jscreator/downloads/hotfixes/index.jsp

Modify JVM heap size under Java options in domain.xml file. This file is under <creator-install-root>/SunAppServer8/domains/creator/config

Set minimum and maximum size to 512 MB.

<jvm-options>-Xms512m -Xmx512m</jvm-options>

Rradhikaa at 2007-7-12 9:09:24 > top of Java-index,Development Tools,Java Tools...
# 2

Hi,

I converted:

<jvm-options>-Xmx512m</jvm-options>

to:

<jvm-options>-Xms512m -Xmx512m</jvm-options>

on my machine. Server has stalled. I had to remove the changes. What is the exact method you are suggesting?

regards,

dr.am.mohan rao

Madana at 2007-7-12 9:09:24 > top of Java-index,Development Tools,Java Tools...
# 3
Hi, I'm wondering, what's the relationship, because I said that JSC uses too much memory not the bundled AppServer (which is diffrent process).regards Grzegorz
Grzegorz.Kluczeka at 2007-7-12 9:09:24 > top of Java-index,Development Tools,Java Tools...
# 4

Hi,

I use similar number of pages in my project. Sometimes I juggle chunks of code from Session Bean to page files and vice versa. I also hide chunks of code to see its effect on speed. Seems JSC speed depends mainly on (1). System making maximum RAM available for JSC. I just could acheive google's by this alone. (2). Keep a watch on your RAM chewing code. I mean one can acheive good JSC speed independent of IDE.

regards

dr.am.mohan rao

Madana at 2007-7-12 9:09:24 > top of Java-index,Development Tools,Java Tools...