[Intellij Idea] File size exceeds configured limit

Source: Internet
Author: User

This two-day attempt to use idea found a problem with file size exceeds configured limit (2560000). Code Insight features not available.

Reason:

Idea on the size of the file can be associated with the limit, mainly to protect memory, the default value is 2500KB, for the general Java file is enough, but here I use protocbuf generated Java file too large, to reach more than 3M.

It is set in ... the Idea.properties file under the Jetbrains\intellij idea Community Edition 14.1.4\bin directory.

#---------------------------------------------------------------------# Maximum File size (kilobytes) IDE should  Provide code assistance for.# the larger file is the slower its editor works and higher overall system memory requirements are# If code assistance is enabled. Remove This property or set to very large number if you need# code assistance for any files available regardless their siz e.#---------------------------------------------------------------------# idea.max.intellisense.filesize= 2500idea.max.intellisense.filesize=5000

Default value is 2500KB

Workaround:

Here I modify it to 5000kb, my maximum file size is more than 3M, solve the problem.



[Intellij Idea] File size exceeds configured limit

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.