This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | OutOfMemoryError: Indicated as coming from org.netbeans.lib.lexer.token.DefaultToken | ||
---|---|---|---|
Product: | db | Reporter: | Exceptions Reporter <exceptions_reporter> |
Component: | SQL Editor | Assignee: | matthias42 |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 209603 |
Attachments: | stacktrace |
Description
Exceptions Reporter
2014-05-08 11:13:17 UTC
Created attachment 147184 [details]
stacktrace
There is only last heap dump left ... reassigning to diff almost 2 million instances of org.netbeans.lib.lexer.token.DefaultToken related to an sql file of 7MB size. Possibly there is a memory leak in loading such a file. I now looked through this multiple times. The sql lexer looks sane and does not keep excessive data around. The count of 2 million tokens for a 7MB file also looks reasonable. As users are clearly warned about opening files > 1MB I'll close this here. |