Discussion:
Decrease required memory
Erik Svensson
2013-10-31 10:37:21 UTC
Permalink
Hi,

Is it possible to decrease the memory required by the transactor? I'm
trying to run the free transactor on a EC2 Micro instance, which doesn't
have enough memory. I have tried to change the object-cache-max setting to
128m, but it had no effect.

Relevant error message:

Launching with Java options -server -Xms1g -Xmx1g -XX:NewRatio=4
-XX:SurvivorRatio=8 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC
-XX:+CMSParallelRemarkEnabled -XX:CMSInitiatingOccupancyFraction=60
-XX:+UseCMSInitiatingOccupancyOnly -XX:+CMSScavengeBeforeRemark
Java HotSpot(TM) 64-Bit Server VM warning: INFO:
os::commit_memory(0x00000000c7ac0000, 859045888, 0) failed; error='Cannot
allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 859045888 bytes for
committing reserved memory.
# An error report file with more information is saved as:
# /tmp/hs_err_pid19464.log

Erik
--
You received this message because you are subscribed to the Google Groups "Datomic" group.
To unsubscribe from this group and stop receiving emails from it, send an email to datomic+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Stuart Halloway
2013-10-31 14:39:51 UTC
Permalink
You will need to change more than object-cache-max. Notice the -Xms1g and
-Xmx1g, both asking for a gig of RAM, which is more than micros have.

Don't expect much write performance. Micros will run, but they are not a
supported configuration.

Cheers,
Stu
Post by Erik Svensson
Hi,
Is it possible to decrease the memory required by the transactor? I'm
trying to run the free transactor on a EC2 Micro instance, which doesn't
have enough memory. I have tried to change the object-cache-max setting to
128m, but it had no effect.
Launching with Java options -server -Xms1g -Xmx1g -XX:NewRatio=4
-XX:SurvivorRatio=8 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC
-XX:+CMSParallelRemarkEnabled -XX:CMSInitiatingOccupancyFraction=60
-XX:+UseCMSInitiatingOccupancyOnly -XX:+CMSScavengeBeforeRemark
os::commit_memory(0x00000000c7ac0000, 859045888, 0) failed; error='Cannot
allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 859045888 bytes for
committing reserved memory.
# /tmp/hs_err_pid19464.log
Erik
--
You received this message because you are subscribed to the Google Groups "Datomic" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Datomic" group.
To unsubscribe from this group and stop receiving emails from it, send an email to datomic+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Loading...