I've been working on a port of the latest network stack (v5.2), adding in support for for some of the missing modules (such as MPFS2, telnet, SNMP, etc).
Along with my application code, the project has grown to almost 100 files, and the IDE has gotten very unstable and slow as I add in support for more features.
I've been getting odd 'out of memory' errors, really slow compile times, greyed out/choking code explorer operation, and intermittent crashes of the IDE.
I started watching the memory usage with Windows Task Manager, and got a real surprise...the IDE was taking up some 900MBytes of memory!
That's not the worst of it...as I included some files, I could watch the memory usage increase to over 2G bytes (at which point things usually crashed).
Poking around, I discovered that I had the 'Explore Includes' option checked in the Code Explorer's drop down box. I'm not sure exactly what this option does,
but unchecking it has made all the difference in the world. Memory usage dropped radically, back down in the 20-40Mbyte range, CPU usage dropped, and the
IDE has become functional again.
Just thought I'd give a head's up.
Jerry
IDE crashing? Turn off 'Explore Includes'
Moderators: David Barker, Jerry Messina
-
- Swordfish Developer
- Posts: 1473
- Joined: Fri Jan 30, 2009 6:27 pm
- Location: US
-
- Swordfish Developer
- Posts: 1473
- Joined: Fri Jan 30, 2009 6:27 pm
- Location: US