Bug 360664

Summary: OutOfMemoryError when checking if file is a zip file
Product: [Tools] AspectJ Reporter: Luke Robertson <luke.robertson>
Component: CompilerAssignee: aspectj inbox <aspectj-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: aclement, luke.robertson
Version: 1.6.9   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
OutOfMemory stacktrace image none

Description Luke Robertson CLA 2011-10-12 09:42:47 EDT
Created attachment 205036 [details]
OutOfMemory stacktrace image

During compilation through Maven, an OutOfMemoryError is generated during ZipFile.open. This occurs even when sufficient memory is available.

Environment: RHEL5, JDK1.5, Maven 2.2.1

(Sorry for the screen shot and lack of full stacktrace, stacktrace lost at point when this issue was raised)
Comment 1 Andrew Clement CLA 2011-10-14 15:17:27 EDT
I feel like I've seen something like this before, and possibly due to something special about one of the jars on the classpath.  Do you have any jars that may be corrupted in some way or are either very large themselves, or have a huge number of entries?
Comment 2 Luke Robertson CLA 2011-10-17 03:58:48 EDT
As far as I'm aware none of the jars are corrupt or very large. The build itself was successful on the second try without any modifications made.