History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-13284
Type: Exception Exception
Status: Open Open
Assignee: Anton Makeev
Reporter: Maxim Drobintsev
Votes: 1
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

IDEA can not handle large Java files (3-5 megabytes)

Created: 15 Jun 07 22:48   Updated: 11 Apr 08 01:48
Component/s: Project Configuration

File Attachments: 1. GZip Archive test_project.tar.gz (32 kb)

Environment:
JDK: 1.5.0_12
OS: Linux x86

Build: 7,020
Severity: High


 Description  « Hide
IDEA can not handle large Java files (3-5 megabytes).

Here is how to reproduce this issue:

1. Install a fresh instance of IDEA build# 7020 and start IDEA from the command line to see the output
2. Open the project "test_project/tsxt_project.ipr" - see text_project.tar.gz
3. See the exception like "test_project/exception.txt" in the IDEA command line.

IDEA 6.x did not have this exception;
IDEA builds 68xx had this exception but were not broken otherwise, build 7020
appears to be frozen after opening a real project that has a large file and
uses Perforce integration.

For build 7020 local history does not seem to work for large files:

If you edit large file and then try to see the changes using local history
the following error is displayed:

"The difference can not be shown because one of the selected revisions
has very large content".

If I try to revert to a previous version using local history I get
the following error:

"Can not revert because some of the files have big content".

Also if I try to replace all "3 megabytes" to "5 megabytes" IDEA gets frozen for long time (several minutes) so I have to kill it.

Please let me know if you need more information.

Thank you,
Maxim.



 All   Comments   Work Log   Change History      Sort Order:
Maxim Drobintsev - 15 Jun 07 22:49
The following issue is related to this one:

http://www.jetbrains.net/jira/browse/IDEA-11989


Maxim Drobintsev - 20 Jun 07 04:47
This issue is related to the property idea.max.intellisense.filesize. IDEA now handles this setting incorrectly which causes the error that I reported.
If I change this setting to 4000 then the error goes away (but IDEA takes longer time to load and takes more memory). With IDEA 6.x I did not have to change this setting.

Also the current behavior is out of sync with the comment in the idea.properties file which says that

"this option doesn't operate with Java files. Regardless of the option value intellisense will anyway stay there."


lake sachtleben - 10 Apr 08 22:19
I had this same problem, couldn't see my local history changes, so I did a restart of intelliJ and it fixed it.