| Summary: | [ErrorHandling] catch and rethrow OutOfMemoryError with additional info for usability | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Ralf Hauser <hauser> |
| Component: | UI | Assignee: | Szymon Brandys <Szymon.Brandys> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | eclipse |
| Version: | 3.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Ralf Hauser
Is there another bug here as well? What does this clas do and what is taking so much memory? Are you doing standard file I/O or parsing XML or other? Opening an editor maybe? Please provide more detail. I don't think this particularly relevant to here, but what we are doing is to
parse a large mime mail (8 MB - base64encoded even 13M) with
org.bouncycastle.mail.smime.SMIMESigned s = new SMIMESigned(mimeMsg);
// extract the content
MimeMultipart mmp = new MimeMultipart();
mmp.addBodyPart(s.getContent());
...
I am happy to have you try this on our server at https://www.privasphere.com .
Just create a large mail and digitally sign it - will not fail on our server,
when doing the same in my junit in eclipse, the reported problem occurs.
as per Bug 73346, it would also be great to draw the user's attention to the fact that besides giving memory to eclipse at startup, there is also the possibility to specify an -Xmx for each of the "Run"s stored in those "configurations" |