The Symantec Scan Engine 5.2.x Java API fails when scanning large files, over 700MB. Specifically the Java API fails with a Out of memory exception.
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at com.symantec.scanengine.api.RequestImpl.readResult1(Unknown Source)
at com.symantec.scanengine.api.RequestImpl.finish(Unknown Source)
Java Result: 1
This issue appears to be caused when the Symantec Scan Engine Java SDK attempts to allocate enough buffer space for the entire size of the file. This is causing the out of memory error in the SSE Java SDK.
The issue is caused by incorrect memory allocation within the Java SDK code. A Defect was submitted to the Engineering team for this, and the issue has been addressed in the SDK provided with the 5.2.11 build of Symantec Scan Engine.
This is machine translated content
Login to Subscribe
Please login to set up your subscription.
Didn't find the article you were looking for? Try these resources.