Wondering if someone maneged to deploy AEM to cloud foundry type of cloud?
I've maxed out on memory for a given instance
Memory Settings: -XX:MaxMetaspaceSize=838860K -Xms6G -XX:MetaspaceSize=838860K -Xss1M -Xmx6G
but still getting
ERR Low-memory action set to fork ERR Using 64bit VM settings, min.heap=1024MB, min permgen=256MB, default fork arguments=[-Xmx1024m, -XX:MaxPermSize=256m] ERR The JVM reports a heap size of 5888 MB, meets our expectation of 1024 MB +/- 20 ERR No console, will fork to get enough memory ERR Preparing to fork JVM, OS name=Linux, isWindows=false ERR Forking JVM: [/home/vcap/app/.java-buildpack/open_jdk_jre/bin/java, -Xmx1024m, -XX:MaxPermSize=256m, -jar, /home/vcap/app/, -nofork, -pt, CHILD] ERR Forked JVM process exited with exit code 1 ERR Main JVM process exiting ERR IOException in StreamCopyThread.run ERR IOException in StreamCopyThread.run ERR java.io.IOException: Stream closed OUT java.io.IOException: Stream closed OUT at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170) OUT at java.io.BufferedInputStream.read(BufferedInputStream.java:336) OUT at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284) OUT at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326) OUT at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178) OUT at java.io.InputStreamReader.read(InputStreamReader.java:184) OUT at java.io.BufferedReader.fill(BufferedReader.java:161) OUT at java.io.BufferedReader.readLine(BufferedReader.java:324) OUT at java.io.BufferedReader.readLine(BufferedReader.java:389) OUT at com.adobe.granite.quickstart.base.impl.exec.StreamCopyThread.run(StreamCopyThread.java:46) ERR at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170) ERR at java.io.BufferedInputStream.read(BufferedInputStream.java:336) ERR at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284) ERR at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326) ERR at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178) ERR at java.io.InputStreamReader.read(InputStreamReader.java:184) ERR at java.io.BufferedReader.fill(BufferedReader.java:161) ERR at java.io.BufferedReader.readLine(BufferedReader.java:324) ERR at java.io.BufferedReader.readLine(BufferedReader.java:389) ERR at com.adobe.granite.quickstart.base.impl.exec.StreamCopyThread.run(StreamCopyThread.java:46) ERR MAIN process: shutdown hook ERR MAIN process: exiting
Has anyone managed to solve it ?
Views
Replies
Total Likes
How much RAM does the server have on which you deployed AEM?
Views
Replies
Total Likes
Hi
Please share the RAM size, if machine is 32 or 64 bit ?
Reference Forum posts:-
Doc Link:- https://docs.adobe.com/content/docs/en/cq/5-6-1/getting_started/download_and_startworking.html#Insta... an Author Instance (Diff commands for 32 and 64 bit)
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
kautuksahni wrote...
Hi
Please share the RAM size, if machine is 32 or 64 bit ?
Reference Forum posts:-
Doc Link:- https://docs.adobe.com/content/docs/en/cq/5-6-1/getting_started/download_and_startworking.html#Insta... an Author Instance (Diff commands for 32 and 64 bit)
Thanks and Regards
Kautuk Sahni
It's 64bit
Using 64bit VM settings
It has 8GB memory available on this container.
Views
Replies
Total Likes
Hi,
so yo have 8GB in total and you are allocating 6GB to AEM? I usually go with 50% of memory allocated to the AEM.
It really depends on what you are using this instance for to decide how much total and allocated RAM you need, the more RAM you have the better, as AEM can then run the repository in memory. Remember that AEM now utilises memory mapping[0]. If I had 16GB memory on my machine I'd maybe start 6-8 and see how things run. If I had more than 16GB, I still wouldn't go above 8-12GB.
Are you doing any DAM ingestion?As you need to have an adequate temp drive setup[1]
Regards,
Opkar
[0] http://www.terrabeata.com/2015/03/think-outside-the-heap-with-aem-6-and-jackrabbit-oak-tarmk/
[1] http://cq-ops.tumblr.com/post/122108616399/the-importance-of-javaiotmpdir-in-dam-asset
Views
Replies
Total Likes