• AVR Freaks

Helpful ReplyHot!IDE Memory Leak?

Author
jautry
Senior Member
  • Total Posts : 147
  • Reward points : 0
  • Joined: 2010/07/16 11:28:38
  • Location: 0
  • Status: offline
2016/08/18 12:26:44 (permalink)
4 (1)

IDE Memory Leak?

When I start out the day with MPLABX 3.35 the Java Platform consumes about 500MB of RAM.  Toward the end of the day, after several compiles, it is up to 1.5GB RAM.  I usually have to shut the IDE down and start over, or my system starts page filing like crazy.  I know I need to get another motherboard that will hold a lot more RAM, but this seems pretty excessive even for Java.
#1
DarioG
Allmächtig.
  • Total Posts : 54081
  • Reward points : 0
  • Joined: 2006/02/25 08:58:22
  • Location: Oesterreich
  • Status: offline
Re: IDE Memory Leak? 2016/08/18 12:48:23 (permalink)
+1 (1)
grin
Java will take the world to its end.

GENOVA :D :D ! GODO
#2
NKurzman
A Guy on the Net
  • Total Posts : 17494
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: online
Re: IDE Memory Leak? 2016/08/18 12:59:36 (permalink)
+2 (2)
Poor Garbage Collection?
Clicking on the Memory used in the tool bar will force Garbage Collection.
#3
eclipse80
New Member
  • Total Posts : 18
  • Reward points : 0
  • Joined: 2016/03/06 10:16:00
  • Location: 0
  • Status: offline
Re: IDE Memory Leak? 2019/03/20 19:23:02 (permalink)
0
And in Mplab X IDE 5.10 i'm up to 2,44 GB RAM atm.  sad: sad 
 
And sometimes it's so slow i can hardly write,
and it's stuck live parsing or some background task is stuck.
 
I have never been a fan of java applications, just because they are a lot slower.
post edited by eclipse80 - 2019/03/20 19:28:04
#4
JPortici
Super Member
  • Total Posts : 692
  • Reward points : 0
  • Joined: 2012/11/17 06:27:45
  • Location: Grappaland
  • Status: online
Re: IDE Memory Leak? 2019/03/21 00:58:48 (permalink)
0
whaaaaaaaaat
never happened here. Anyway if you enable the "performance" toolbar you can click on the memory graph to force garbage collection.
Altough closing/reopening every few hours is not a bad idea either (it shouldn't be needed but you should take a sball break every now and then :) in that time you can close/open X)
#5
crosland
Super Member
  • Total Posts : 1582
  • Reward points : 0
  • Joined: 2005/05/10 10:55:05
  • Location: Bucks, UK
  • Status: offline
Re: IDE Memory Leak? 2019/03/21 02:50:54 (permalink)
0
eclipse80
I have never been a fan of java applications, just because they are a lot slower.

Anyone can write bad code.
 
Given that the main point of an IDE is to react to gestures in a human time frame and run the compiler (not Java) then Java can work just fine, when written by someone with a clue.
#6
Jim Nickerson
User 452
  • Total Posts : 6020
  • Reward points : 0
  • Joined: 2003/11/07 12:35:10
  • Location: San Diego, CA
  • Status: online
Re: IDE Memory Leak? 2019/03/21 07:36:11 (permalink)
0
crosland
 Java can work just fine, when written by someone with a clue.



I very much like and use this bit of java http://tabulator.info/
#7
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3122
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: IDE Memory Leak? 2019/03/22 18:42:49 (permalink)
-1 (1)
It did happen but it was resolved.
(It became more stable on later versions)

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
#8
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3122
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: IDE Memory Leak? 2019/03/22 18:56:03 (permalink)
0 (2)
If it is so slow that you can hardly write (type) then the problem may be elsewhere in your system.
You should be on 16GB at minimum and using SSD drives in 2019.
 
One thing that really annoys me is that all my hard drives wake up from sleep when compiling/assembling.  (After they have gone into sleep mode)
 
I still have mechs in my main PC for backups.
 
 
 
 

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
#9
eclipse80
New Member
  • Total Posts : 18
  • Reward points : 0
  • Joined: 2016/03/06 10:16:00
  • Location: 0
  • Status: offline
Re: IDE Memory Leak? 2019/03/23 20:41:39 (permalink)
0
Gort2015
If it is so slow that you can hardly write (type) then the problem may be elsewhere in your system.
You should be on 16GB at minimum and using SSD drives in 2019.



It's not always that slow only sometimes. I have 8GB RAM and i have a SSD, but if i'm the only one having this problem it must be some other program on my computer that slows it down. I thought it might be the IDE since it was consuming so much RAM.
#10
qhb
Superb Member
  • Total Posts : 9998
  • Reward points : 0
  • Joined: 2016/06/05 14:55:32
  • Location: One step ahead...
  • Status: offline
Re: IDE Memory Leak? 2019/03/24 00:10:42 (permalink) ☄ Helpfulby eclipse80 2019/03/24 04:25:52
0
Next most likely culprit is an anti-virus program.
Tell whatever you are using to exclude the MPLABX folder from its scanning, as MPLABX is regularly using dozens of jar files.
 

Nearly there...
#11
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3122
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: IDE Memory Leak? 2019/03/24 07:12:01 (permalink)
0
Every time I post someone gives me a negative.
 
Here it comes.

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
#12
NorthGuy
Super Member
  • Total Posts : 5481
  • Reward points : 0
  • Joined: 2014/02/23 14:23:23
  • Location: Northern Canada
  • Status: offline
Re: IDE Memory Leak? 2019/03/24 07:38:02 (permalink)
+1 (1)
It's amazing that with today's hardware, people manage to write GUI programs which are slow.
 
Someone needs 16GB of RAM for editing a 10K text file? Give me a break.
#13
NorthGuy
Super Member
  • Total Posts : 5481
  • Reward points : 0
  • Joined: 2014/02/23 14:23:23
  • Location: Northern Canada
  • Status: offline
Re: IDE Memory Leak? 2019/03/24 07:42:05 (permalink)
+1 (1)
Gort2015
Every time I post someone gives me a negative.



You should be able to figure out whom. I get emails from time to time which say "such and such rated your post ...".
#14
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3122
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: IDE Memory Leak? 2019/03/24 08:17:27 (permalink)
0
Thanks, nothing worst than a Troll.
 
16GB of RAM, that is just my case and RAM is now cheap as chips as they say.
Running MPLab X, FireFox, VLC for Music, YouTube, utilities etc...
 
 
 

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
#15
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3122
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: IDE Memory Leak? 2019/03/24 08:51:47 (permalink)
0
I will find you.
I will hunt you down and I will kill you. sad: sad

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
#16
Jump to:
© 2019 APG vNext Commercial Version 4.5