Cannot open large project

Issue #1051 resolved
Ariel Rosenfeld created an issue

I am working on an environment with a lot of metadata. When I create the project in IDEA, it crashes after I press 'reload project' after it generates the offline table. I am only syncing part of the metadata. I can still deploy the metadata but autocomplete doesn't work.

Error: Load Settings

Cannot load settings from file '....iml': ....iml

Please correct the file content

Comments (4)

  1. Scott Wells repo owner

    Ariel, you can configure IntelliJ IDEA to handle this. First, I'd recommend giving it more memory as follows:

    https://intellij-support.jetbrains.com/hc/en-us/articles/206544869-Configuring-JVM-options-and-platform-properties

    and then for this specific problem, set the idea.max.content.load.filesize system property. The default is defined as:

    #---------------------------------------------------------------------
    # Maximum file size (kilobytes) IDE is able to open.
    #---------------------------------------------------------------------
    idea.max.content.load.filesize=20000
    

    based on the file:

    https://github.com/JetBrains/intellij-community/blob/master/bin/idea.properties

    You might bump that up to be larger than the .iml file that it's trying to load. What I don't know is how well it'll perform, but that should make it work for you.

    If that doesn't work, please let me know.

  2. Scott Wells repo owner

    Resolving this assuming that the provided instructions will work for you. Feel free to reopen if not with details on what's happening after applying those config changes.

  3. Log in to comment