Please take extreme care when setting the build.properties of your Cocoon project.
| Always make sure to configure both maven.wrapper.maxmemory (in mb's) and maven.cocoon.heapsize (in bytes, 20 mb lower). |
| Property name | Optional | Default | Description |
|---|---|---|---|
| maven.wrapper.initmemory | No | 64 | Sets the amount of memory in megabytes the JVM initially gets assigned by the Wrapper. This is patched into /bin/wrapper.conf. 64 is a good start - no real need to make this higher. |
| maven.wrapper.maxmemory | No | 128 | Sets the maximum mount of memory in megabytes the JVM assigns to the Wrapper. This is patched into /bin/wrapper.conf. 128 is pretty standard, but values anywhere between 128 and 512 are common. Whenever you change this value, immidiately change the maven.cocoon.heapsize too! |
| maven.cocoon.heapsize | No | 108000000 | Sets the maximum amount of memory Cocoon's (cache) store takes from within the JVM in bytes. This is patched into /cocoon/WEB-INF/cocoon.xconf. Take extreme care with the amount of zero's assigned - it's in bytes! This value should be approximately 20mb lower than maven.wrapper.maxmemory. |
| maven.cocoon.store.maxobjects | No | 1100 | Sets the maximum number of objects stored by Cocoon in store in the {{/cocoon/WEB-INF/cocoon.xconf }} DEPRECATED SINCE HIPPO COCOON 2.1.8.11 |
| maven.cocoon.transientstore.maxobjects | No | 1200 | Sets the maximum number of objects stored by Cocoon in transient-store in the {{/cocoon/WEB-INF/cocoon.xconf }} DEPRECATED SINCE HIPPO COCOON 2.1.8.11 |
| maven.cocoon.continuations.ttl | No | 3600000 | Sets the number of seconds a continuation should live. Patched into the /cocoon/WEB-INF/cocoon.xconf |
| timeToLiveSeconds | yes | 0 | |
| timeToIdleSeconds | yes | 10800 |