Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Old generation space issues in AEM

Avatar

Avatar
Validate 1
Level 2
cmr96960454
Level 2

Likes

3 likes

Total Posts

15 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 3
Give Back
View profile

Avatar
Validate 1
Level 2
cmr96960454
Level 2

Likes

3 likes

Total Posts

15 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 3
Give Back
View profile
cmr96960454
Level 2

22-08-2019

Hi Team,

sub:- old generation space reached 100% in AEM publishers

Everyday we are seeing publisher 1 or publisher 2 having issues and due to this servers are going down and to retains servers back we are just restarting the instances.

Below is the link for head dump analysis.

https://fastthread.io/my-thread-report.jsp?p=c2hhcmVkLzIwMTkvMDgvMjIvLS1qc3RhY2suMTU0NDguM TAxMzEwLjc0OTQ2MTMwOS0tNi01Ni00MTs7LS1qc3RhY2suMTU0NDguMTAxNjEzLjQwODc4OTg0NC0tNi01Ni00MTs 7LS1qc3RhY2suMTU0NDguMTAxNjI0LjMwNjQ0MDMyNS0tNi01Ni00MTs7LS1qc3RhY2suMTU0NDguMTAxNjAxLjM5N zQ3MjQ1MS0tNi01Ni00MTs7LS1qc3RhY2suMTU0NDguMTAxNjMyLjA1OTU2MDA0Ni0tNi01Ni00MQ

Please verify and suggest to fix this issue.

Thanks,

Replies

Avatar

Avatar
Give Back 5
Employee
yanirac19051392
Employee

Likes

20 likes

Total Posts

38 posts

Correct Reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 5
View profile

Avatar
Give Back 5
Employee
yanirac19051392
Employee

Likes

20 likes

Total Posts

38 posts

Correct Reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 5
View profile
yanirac19051392
Employee

22-08-2019

You've shared threaddumps, for memory related issues a headdump is best. 

You can:

- memory usage by going to <host>:<port>/system/console/memoryusage

- Take the heap dumps generated from the same page by clicking “Dump Heap” from the top right.

Then use one of the memory analyzer tools to analyze heap dumps.  From your threaddumps, you should check your servlet further 'com.citytechinc.aem.bedrock.core.servlets.ImageServlet.writeLayer'

10.43.32.27 [1566395583229] GET /content/ingredion/emea/findingredients/foodbeverage/Modified_Starch/_jcr_content/par/accordion/accordionpar/colorbox/colorboxpar/columns/parcol1/columns_copy/parcol1/adaptiveimage_copy.img.png HTTP/1.1

priority:5 - threadId:0x00007f0c740c6000 - nativeId:0x4f8c - nativeId (decimal):20364 - state:BLOCKED

stackTrace:

java.lang.Thread.State: BLOCKED (on object monitor)

at sun.awt.image.ByteInterleavedRaster.getByteData(ByteInterleavedRaster.java:453)

at sun.awt.image.ByteInterleavedRaster.getDataElements(ByteInterleavedRaster.java:364)

at sun.awt.image.ByteInterleavedRaster.setDataElements(ByteInterleavedRaster.java:646)

at sun.awt.image.ByteInterleavedRaster.setRect(ByteInterleavedRaster.java:1180)

at com.sun.imageio.plugins.png.PNGImageReader.decodePass(PNGImageReader.java:1176)

at com.sun.imageio.plugins.png.PNGImageReader.decodeImage(PNGImageReader.java:1223)

at com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1338)

at com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1614)

at com.day.image.Layer.<init>(Layer.java:696)

at com.day.image.Layer.<init>(Layer.java:588)

at com.day.image.Layer.<init>(Layer.java:511)

at com.day.cq.commons.ImageHelper.createLayer(ImageHelper.java:173)

at com.day.cq.commons.ImageResource.getLayer(ImageResource.java:638)

at com.citytechinc.aem.bedrock.core.servlets.ImageServlet.writeLayer(ImageServlet.java:65)