9647 Hanging with large Flex projects

The last few EAPs have been slow, but 9647 is unusable for me as 1 of the 8 cores is consumed.  UI is unresponsive.  I have 12 Flex projects, 10 swc & 2 swf, with ~400 .as files.  I tried clearing my caches, but IDEA has some background process that I let run overnight.

Here is the cpu snapshot I took before killing IDEA: 9647_LARGE_FLEX_PROJECT_BLOCKING_16.01.2009_09.09.24.zip

I'm running:
OS X 10.6, dual quad core
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)

jvm options:
<string>-Xms32m -Xmx2048m -XX:MaxPermSize=256m -Xbootclasspath/a:../lib/boot.jar -ea -agentlib:yjpagent=disablej2ee</string>

Thanks.
-Brandon

7 comments
Comment actions Permalink

How do you compile your Flex projects? The "Use IDE Builder instead of ANT" option does not work anymore for me since #9618.

Peter

0
Comment actions Permalink

Hello Brandon,

Please capture a CPU snapshot as described in http://jetbrains.net/devnet/docs/DOC-192
and create a new JIRA issue with the snapshot attached.

(I don't quite understand why I have to post exactly the same text every
time someone complains about performance in the EAP forum. I would expect
EAP members to know this procedure pretty well already.)

The last few EAPs have been slow, but 9647 is unusable for me as 1 of
the 8 cores is consumed.  UI is unresponsive.  I have 12 Flex
projects, 10 swc & 2 swf, with ~400 .as files.  I tried clearing my
caches, but IDEA has some background process that I let run overnight.

Here is the cpu snapshot I took before killing IDEA:
9647_LARGE_FLEX_PROJECT_BLOCKING_16.01.2009_09.09.24.zip

I'm running:
OS X 10.6, dual quad core
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)
jvm options:
<string>-Xms32m -Xmx2048m -XX:MaxPermSize=256m
-Xbootclasspath/a:../lib/boot.jar -ea
-agentlib:yjpagent=disablej2ee</string>
Thanks.
-Brandon
---
Original message URL:
http://www.jetbrains.net/devnet/message/5230320#5230320

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Same for me. It's dreadfully slow for the last two EAPs. I've only got a few .as and .mxml files in this project, so I suspect Idea is keeping the entire SDK in memory or something. I also just got one exception stating "Too many open files". Which I submitted via the feedback mechanism.

0
Comment actions Permalink

In general Jetbrains is very responsive to performance issues, provided
you give them CPU and/or memory snapshots to enable them to analyze the
root cause.

In this case, it seems that both would be helpful, ideally from multiple
different users.

Note that CPU snapshots are fairly small: you can attach them in JIRA
directly.
1) Go to http://www.jetbrains.net/jira/secure/CreateIssue!default.jspa
2) Select "IDEA: Feedback", and "Performance problem"
3) On next page, select component "Flex Support"
4) Attach the CPU snapshot

In general, it helps if the issue description contains some details
about the project in case: number of total .as files, etc.

For memory snapshots, the story is a bit different. Since these can be
rather big (towards 100 MB compressed), you need to upload these to the
Jetbrains FTP server.
Apart from uploading them, create a JIRA ticket that refers to the name
of the uploaded snapshot, and just like in the case of CPU shapshots,
some general background information on the size of the project.

The FTP destination is: ftp://ftp.intellij.net/.uploads/

In both cases, when creating a JIRA ticket, please post a reply to this
thread with a link, so that other users (like me) can comment on the
issue, or add themselves as "watcher" (to receive automatic notifications)

-tt

0
Comment actions Permalink

I've seen this as well, and opened a ticket with what IDEA is doing, http://jetbrains.net/jira/browse/IDEA-21500

0
Comment actions Permalink

Thank you, the problem is
http://www.jetbrains.net/jira/browse/IDEADEV-34140

Brandon Lonac wrote:

The last few EAPs have been slow, but 9647 is unusable for me as 1 of the 8 cores is consumed.  UI is unresponsive.  I have 12 Flex projects, 10 swc & 2 swf, with ~400 .as files.  I tried clearing my caches, but IDEA has some background process that I let run overnight.

Here is the cpu snapshot I took before killing IDEA: 9647_LARGE_FLEX_PROJECT_BLOCKING_16.01.2009_09.09.24.zip

I'm running:
OS X 10.6, dual quad core
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)

jvm options:
<string>-Xms32m -Xmx2048m -XX:MaxPermSize=256m -Xbootclasspath/a:../lib/boot.jar -ea -agentlib:yjpagent=disablej2ee</string>

Thanks.
-Brandon

---
Original message URL: http://www.jetbrains.net/devnet/message/5230320#5230320



--
Best regards,
   Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

I have only been using IDEA for only editing, I still use FlexBuilder to run and debug.  I have a lot of projects, I took the time to set them all up to build once.  We are using FlexMojos too.

0

Please sign in to leave a comment.