Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JRun4 out of memory error (heap)

45 views
Skip to first unread message

allen_tremain

unread,
Nov 13, 2007, 3:04:44 PM11/13/07
to
I am having a problem with JRun4 update 7 running out of memory. I am sure it
is just a setting somewhere but all I can find are settings with JRun/CF
together on the net. I am running Jrun4 and IIS6 without Cold Fusion. I have
created a datasource to a mysql database. I am using SnappMx to build a Flash
GUI using flash remoting. The initial test I am retrieving 95000 records. When
this goes into production I will limit the return results. I am just testing
the performance and memory allocation. The memory never get's release until I
get a java exception OutOfMemory (heap).

Here are my JVM settings:
-----------------------------------
java.home=C:\\System\\Java\\jdk1.6.0_03

java.args=-server -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS -Xmx512m
-Xms256m -Xss256k -XX:NewSize=64m -Dsun.io.useCanonCaches=false
-XX:+DisableExplicitGC -XX:PermSize=32m -XX:MaxPermSize=128m -XX:+UseParNewGC
-XX:-UseParallelGC

Here is my datasource settings:
--------------------------------------------

<data-source>
<dbname>remote_master</dbname>
<driver>com.mysql.jdbc.Driver</driver>
<url>jdbc:mysql://127.0.0.1:3306/remote_master</url>
<username>root</username>
<password>C5A054981E1BDF920A71F645E40BA8BE</password>
<encrypted>true</encrypted>
<encryption-class>jrun.security.JRunCrypterForTwofish</encryption-class>
<native-results>true</native-results>
<remove-on-exceptions>true</remove-on-exceptions>
<pool-statements>false</pool-statements>
<initial-connections>1</initial-connections>
<connection-timeout>1200</connection-timeout>
<pool-retry>30</pool-retry>
<transaction-timeout>20</transaction-timeout>
<cache-enabled>false</cache-enabled>
<cache-size>5</cache-size>
<cache-refresh-interval>30</cache-refresh-interval>
<jndi-name>remote_master</jndi-name>
<poolname>Pool</poolname>
<minimum-size>0</minimum-size>
<maximum-size>2147483647</maximum-size>
<user-timeout>20</user-timeout>
<skimmer-frequency>420</skimmer-frequency>
<shrink-by>5</shrink-by>
<maximum-soft>true</maximum-soft>
<debugging>false</debugging>
<disable-pooling>true</disable-pooling>
<description />
<isolation-level>READ_COMMITTED</isolation-level>
</data-source>


I am really stuck on this one. If you need any other settings let me know.
Thanks,
Allen


yoe.j...@gmail.com

unread,
Jun 14, 2012, 2:01:44 AM6/14/12
to
On Wednesday, November 14, 2007 1:34:44 AM UTC+5:30, allen_tremain wrote:
> I am having a problem with JRun4 update 7 running out of memory. I am sure it
> is just a setting somewhere but all I can find are settings with JRun/CF
> together on the net. I am running Jrun4 and IIS6 without Cold Fusion. I have
> created a datasource to a mysql database. I am using SnappMx to build a Flash
> GUI using flash remoting. The initial test I am retrieving 95000 records. When
> this goes into production I will limit the return results. I am just testing
> the performance and memory allocation. The memory never get's release until I
> get a java exception OutOfMemory (heap).
>
> Here are my JVM settings:
> -----------------------------------
> java.home=C:\\System\\Java\\jdk1.6.0_03
>
> java.args=-server -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS -Xmx512m
> -Xms256m -Xss256k -XX:NewSize=64m -Dsun.io.useCanonCaches=false
> -XX:+DisableExplicitGC -XX:PermSize=32m -XX:MaxPermSize=128m -XX:+UseParNewGC
> -XX:-UseParallelGC
>
> Here is my datasource settings:
> --------------------------------------------
>
> <data-source>
> <dbname>remote_master</dbname>
> <driver>com.mysql.jdbc.Driver</driver>
> <url>jdbc:mysql://127.0.0.1:3306/remote_master</url>
> <username>root</username>
>
> C5A054981E1BDF920A71F645E40BA8BE</password>
> <encrypted>true</encrypted>
> <encryption-class>jrun.security.JRunCrypterForTwofish</encryption-class>
> <native-results>true</native-results>
> <remove-on-exceptions>true</remove-on-exceptions>
>
> false</pool-statements>
> <initial-connections>1</initial-connections>
> <connection-timeout>1200</connection-timeout>
>
> 30</pool-retry>
> <transaction-timeout>20</transaction-timeout>
> <cache-enabled>false</cache-enabled>
> <cache-size>5</cache-size>
> <cache-refresh-interval>30</cache-refresh-interval>
> <jndi-name>remote_master</jndi-name>
>
> Pool</poolname>
> <minimum-size>0</minimum-size>
> <maximum-size>2147483647</maximum-size>
> <user-timeout>20</user-timeout>
> <skimmer-frequency>420</skimmer-frequency>
> <shrink-by>5</shrink-by>
> <maximum-soft>true</maximum-soft>
> <debugging>false</debugging>
> <disable-pooling>true</disable-pooling>
> <description />
> <isolation-level>READ_COMMITTED</isolation-level>
> </data-source>
>
>
> I am really stuck on this one. If you need any other settings let me know.
> Thanks,
> Allen

Hey ALlen,

Did you find any solution? thanks in advance
0 new messages