Bug 360664 - OutOfMemoryError when checking if file is a zip file
Summary: OutOfMemoryError when checking if file is a zip file
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.6.9   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-12 09:42 EDT by Luke Robertson CLA
Modified: 2011-10-17 03:58 EDT (History)
2 users (show)

See Also:


Attachments
OutOfMemory stacktrace image (116.72 KB, image/pjpeg)
2011-10-12 09:42 EDT, Luke Robertson CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.