#28890

In theory, PD4ML should embed JPEG images to PDF “as is”, without a rendering in RAM. So the issue needs some investigations.

But first, I would try to unload the images from RAM to the temp dir:

Map m = new HashMap();
m.put(PD4Constants.PD4ML_CACHE_IMAGES_IN_TMP_DIR, "true");
pd4ml.setDynamicParams(m);

Does it change anything in your case?