Author: ron.sigal(a)jboss.com
Date: 2008-05-08 15:51:01 -0400 (Thu, 08 May 2008)
New Revision: 4149
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/security/TestCallbackStore.java
Log:
JBREM-977: Start with .8 of maxMemory in use.
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/security/TestCallbackStore.java
===================================================================
---
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/security/TestCallbackStore.java 2008-05-08
09:08:41 UTC (rev 4148)
+++
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/security/TestCallbackStore.java 2008-05-08
19:51:01 UTC (rev 4149)
@@ -37,7 +37,7 @@
{
long max = Runtime.getRuntime().maxMemory();
log.info("max mem: " + max);
- int memSize = (int) (max * 0.9);
+ int memSize = (int) (max * 0.8);
memHolder = new byte[memSize];
log.info("memHolder.length: " + memHolder.length);
}
Show replies by date