| [news.eclipse.newcomer] Re: PlugIn:java.lang.OutOfMemoryError |
First, we can not edit some files which size are large, more than 20M or even larger according to the default config in eclipse. Or there is java.lang.OutOfMemoryError.The editor is currently not able to handle such large documents. You can write your own document and document provider that can do this but that's non-trivial.
Second, there is a plugin project.In the project,here is an editer which extends "org.eclipse.ui.editors.text.FileDocumentProvider" and there can not be able to edit some larger files because of needing more java heap space.
How to deal with these problems?
Thanks & Best wishes.