Source file analysis

Is there any way to get IDEA to analyse a source file such that it will find errors, warnings, etc.?

I have a 13000 line source file (wasn't me! I didn't write it!) and after an hour, IDEA 4.5.3 still hasn't analysed it to 'give it a green, yellow or red' so that I can see all the problems.

I tried the following in idea.lax in an attempt to give more resources to IDEA:
lax.nl.java.option.additional=-Xms192m -Xmx512m
The development machine has 2.5GB of memory so it shouldn't be an issue.

4 comments

IDEA stops parsing when you switch to another window. IDEA needs to be the
focused application to parse a file. Was IDEA in the foreground for that
entire hour?

-Keith

Is there any way to get IDEA to analyse a source file such that it
will find errors, warnings, etc.?

I have a 13000 line source file (wasn't me! I didn't write it!) and
after an hour, IDEA 4.5.3 still hasn't analysed it to 'give it a
green, yellow or red' so that I can see all the problems.

I tried the following in idea.lax in an attempt to give more resources
to IDEA:
lax.nl.java.option.additional=-Xms192m -Xmx512m
The development machine has 2.5GB of memory so it shouldn't be an
issue.



0

I understand why they set it like this, but I would LOVE it if it could
be disabled and allow it to continue. I have 2 processors and don't
mind dedicating one CPU to IJ while I'm busy doing something else.

Norris Shelton
Sun Certified Java Programmer




Keith Lea wrote:

IDEA stops parsing when you switch to another window. IDEA needs to be
the focused application to parse a file. Was IDEA in the foreground
for that entire hour?

>

-Keith

>
>> Is there any way to get IDEA to analyse a source file such that it
>> will find errors, warnings, etc.?
>>
>> I have a 13000 line source file (wasn't me! I didn't write it!) and
>> after an hour, IDEA 4.5.3 still hasn't analysed it to 'give it a
>> green, yellow or red' so that I can see all the problems.
>>
>> I tried the following in idea.lax in an attempt to give more resources
>> to IDEA:
>> lax.nl.java.option.additional=-Xms192m -Xmx512m
>> The development machine has 2.5GB of memory so it shouldn't be an
>> issue.
>
>
>

0

Vote for #19682
http://www.intellij.net/tracker/idea/viewSCR?publicId=19682

Bas

Norris Shelton wrote:

I understand why they set it like this, but I would LOVE it if it could
be disabled and allow it to continue. I have 2 processors and don't
mind dedicating one CPU to IJ while I'm busy doing something else.

Norris Shelton
Sun Certified Java Programmer




Keith Lea wrote:

>> IDEA stops parsing when you switch to another window. IDEA needs to be
>> the focused application to parse a file. Was IDEA in the foreground
>> for that entire hour?
>>
>> -Keith
>>
>>> Is there any way to get IDEA to analyse a source file such that it
>>> will find errors, warnings, etc.?
>>>
>>> I have a 13000 line source file (wasn't me! I didn't write it!) and
>>> after an hour, IDEA 4.5.3 still hasn't analysed it to 'give it a
>>> green, yellow or red' so that I can see all the problems.
>>>
>>> I tried the following in idea.lax in an attempt to give more resources
>>> to IDEA:
>>> lax.nl.java.option.additional=-Xms192m -Xmx512m
>>> The development machine has 2.5GB of memory so it shouldn't be an
>>> issue.
>>
>>
>>
>>

0

Votes don't really matter now. It just has to have one to get moved to
Jira.

Norris Shelton
Sun Certified Java Programmer




Bas Leijdekkers wrote:

Vote for #19682
http://www.intellij.net/tracker/idea/viewSCR?publicId=19682

>

Bas

>

Norris Shelton wrote:

>
>> I understand why they set it like this, but I would LOVE it if it
>> could be disabled and allow it to continue. I have 2 processors and
>> don't mind dedicating one CPU to IJ while I'm busy doing something else.
>>
>> Norris Shelton
>> Sun Certified Java Programmer
>>
>>
>>
>>
>> Keith Lea wrote:
>>
>>> IDEA stops parsing when you switch to another window. IDEA needs to
>>> be the focused application to parse a file. Was IDEA in the
>>> foreground for that entire hour?
>>>
>>> -Keith
>>>
>>>> Is there any way to get IDEA to analyse a source file such that it
>>>> will find errors, warnings, etc.?
>>>>
>>>> I have a 13000 line source file (wasn't me! I didn't write it!) and
>>>> after an hour, IDEA 4.5.3 still hasn't analysed it to 'give it a
>>>> green, yellow or red' so that I can see all the problems.
>>>>
>>>> I tried the following in idea.lax in an attempt to give more resources
>>>> to IDEA:
>>>> lax.nl.java.option.additional=-Xms192m -Xmx512m
>>>> The development machine has 2.5GB of memory so it shouldn't be an
>>>> issue.
>>>
>>>
>>>
>>>
>>>

0

Please sign in to leave a comment.