• AVR Freaks

AnsweredHot!MPLAB X v5.30 as time passes it becomes slower

Page: 12 > Showing page 1 of 2
Author
DominusT
Super Member
  • Total Posts : 1419
  • Reward points : 0
  • Joined: 2005/07/22 08:31:18
  • Status: offline
2019/11/28 09:41:26 (permalink)
5 (1)

MPLAB X v5.30 as time passes it becomes slower

Hi
I am working with a PIC32MZ, XC32 v2.30 and ICD3. (Win 10, 64 bits).


I have noticed since I installed last week version 5.30 of MPLAB X that at the time of debugging, the application becomes slower, the display of variables by debugging takes a long time to update.


The solution was to close the program and reopen it, but this was a waste of time. So I decided to go back to version 5.25 with which everything works better.
 
Any comments or suggestions are welcome.
#1
ric
Super Member
  • Total Posts : 27979
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: offline
Re: MPLAB X v5.30 as time passes it becomes slower 2019/11/28 12:20:48 (permalink)
0 (2)
Had you excluded the v5.25 folder from virus scanning?
 

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
#2
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3984
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: MPLAB X v5.30 as time passes it becomes slower 2019/11/28 19:37:58 (permalink)
0
Have a look in the task scheduler, see what is eating resourses.

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.
#3
DominusT
Super Member
  • Total Posts : 1419
  • Reward points : 0
  • Joined: 2005/07/22 08:31:18
  • Status: offline
Re: MPLAB X v5.30 as time passes it becomes slower 2019/11/28 19:43:37 (permalink)
+1 (1)
Gort2015
Have a look in the task scheduler, see what is eating resourses.


Of course. Mplab consumes more RAM every moment. There comes a time when it doesn't respond and the only way to close it is through the task manager
post edited by DominusT - 2019/11/28 19:52:03
#4
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3984
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: MPLAB X v5.30 as time passes it becomes slower 2019/11/28 20:02:24 (permalink)
+1 (1)
Task scheduler will list all the tasks that run periodically such as MS Security Essentials, virus scanners or a virus.
 
First place to look before msconfig.exe
 
post edited by Gort2015 - 2019/11/28 20:10:25

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.
#5
DominusT
Super Member
  • Total Posts : 1419
  • Reward points : 0
  • Joined: 2005/07/22 08:31:18
  • Status: offline
Re: MPLAB X v5.30 as time passes it becomes slower 2019/11/29 07:08:18 (permalink)
0
Gort2015
Task scheduler will list all the tasks that run periodically such as MS Security Essentials, virus scanners or a virus.
 
First place to look before msconfig.exe
 


I will try to follow your advice.

I uninstalled version 5.30 and I will install it again and test until the problem appears.
#6
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3984
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: MPLAB X v5.30 as time passes it becomes slower 2019/11/29 08:31:46 (permalink)
0
How much memory does your PC have?

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.
#7
NorthGuy
Super Member
  • Total Posts : 6223
  • Reward points : 0
  • Joined: 2014/02/23 14:23:23
  • Location: Northern Canada
  • Status: online
Re: MPLAB X v5.30 as time passes it becomes slower 2019/11/29 08:32:32 (permalink)
0
DominusT
Mplab consumes more RAM every moment. There comes a time when it doesn't respond and the only way to close it is through the task manager



Looks like a memory leak. Only the developers can fix this.
#8
DominusT
Super Member
  • Total Posts : 1419
  • Reward points : 0
  • Joined: 2005/07/22 08:31:18
  • Status: offline
Re: MPLAB X v5.30 as time passes it becomes slower 2019/11/29 08:33:42 (permalink)
0
Gort2015
How much memory does your PC have?


16 GB
#9
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3984
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: MPLAB X v5.30 as time passes it becomes slower 2019/11/29 13:24:20 (permalink)
0
Used Torrrent sites recently ?

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.
#10
DominusT
Super Member
  • Total Posts : 1419
  • Reward points : 0
  • Joined: 2005/07/22 08:31:18
  • Status: offline
Re: MPLAB X v5.30 as time passes it becomes slower 2019/11/29 13:30:41 (permalink)
0
Gort2015
Used Torrrent sites recently ?


No. The PC I use is only for projects with MPLAB. It has no other utility.
#11
DominusT
Super Member
  • Total Posts : 1419
  • Reward points : 0
  • Joined: 2005/07/22 08:31:18
  • Status: offline
Re: MPLAB X v5.30 as time passes it becomes slower 2019/11/29 13:48:27 (permalink)
0
 
Apart from the slowness of the software, there is also this problem reported:
 
https://www.microchip.com...1117951.aspx?high=5.30
#12
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3984
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: MPLAB X v5.30 as time passes it becomes slower 2019/11/29 18:38:17 (permalink)
0
Is it one big file?
Organize or spanning a project over many files will help a lot, it also allows compile and assembly of files separately.
It won't re-compile a file unless it needs to.
 
It takes nearly 2 seconds for a clean compile and a further 4 seconds to write to the chip.
That is a project spanning over 40 files including some ultra cool debugging techniques.

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.
#13
DominusT
Super Member
  • Total Posts : 1419
  • Reward points : 0
  • Joined: 2005/07/22 08:31:18
  • Status: offline
Re: MPLAB X v5.30 as time passes it becomes slower 2019/11/29 19:20:11 (permalink)
0
Gort2015
Is it one big file?
Organize or spanning a project over many files will help a lot, it also allows compile and assembly of files separately.
It won't re-compile a file unless it needs to.
 
It takes nearly 2 seconds for a clean compile and a further 4 seconds to write to the chip.
That is a project spanning over 40 files including some ultra cool debugging techniques.


Well, I don't know if my project is very large, but the entire project folder is about 6 MB.
 
It is a project created with Harmony 2.06 and occupies about 4% of the program memory and 13% of the RAM in the MCU.
 
I have no slow problems, compiling or downloading the project to the microcontroller.
 
The problem is when debugging like that other thread also appear 'phantom break points'. That is to say that if you place a breaking point at some point where it was possible, it appears as you cannot as if the code was optimized and that point cannot be created.
 
No matter where you put it, it doesn't allow it. Even uninstalled and deleting the folder related to version 5.30 and reinstalling, that problem remains and if you have it in version 5.25, it works without problems.
 
Another problem that I report in another thread:
 
https://www.microchip.com/forums/m1120595.aspx
 
I'm using DMA as a CRC generator, it works for a short time and then crashes, but the same project with version 5.25, works without problems.
post edited by DominusT - 2019/11/29 19:24:09
#14
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3984
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: MPLAB X v5.30 as time passes it becomes slower 2019/11/29 23:45:58 (permalink)
0
I had a problem with mplab x not listing structure contents in C. (selector)
After a format and re-install of Windows 7 64bit it then worked fine.
 
Might be worth a shot.
 
Can you get by without using the debugger?  It's not essential and if it is broken why bother ?
 

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
Sergey9905
Starting Member
  • Total Posts : 32
  • Reward points : 0
  • Joined: 2011/12/24 14:53:11
  • Location: Russian Federation
  • Status: offline
Re: MPLAB X v5.30 as time passes it becomes slower 2019/11/30 04:54:57 (permalink) ☼ Best Answerby DominusT 2019/11/30 11:44:18
+1 (1)
Hi, Dominus! I have had sometimes the same problem with many previous versions of MPLABX (5.x.x and 4.x.x) when working with a PIC32MZ, XC32 v2.xx and ICD3/Real ICE/PICkit4 (Win7/ Win 10, 64 bits).
 
 
The first decision was to increase the Java's cache. To do this, see the Speed Up MPLAB X IDE chapter of MPLAB_X_IDE_Users_Guide.
But one next time you may have the same problem of lowing the speed of MPLABX during debugging.
The other decision to speed up MPLABX is to clear the cache of MPLABX. Go to the folder
c:\Users\YourUserName\AppData\Roaming\mplab_ide\dev\ and delete the folder with the version of  MPLABX you work in.
 
The third way of speeding MPLABX up is to delete the unresolved wathes in Watch window of MPLABX. Sometimes if you try to wait while MPLABX listing your variables in Watch window, you'll see in the top of Watch window someting like this : "Unresolved wathes: 163, Total time : 213459 (ms) - Right click for options...". Right click and delete them.
 
And the forth solution is to uninstall the MPLABX and roll back the version of MPLABX.
But if I have debugging with watching the big arrays, I experience lowing the  speed after exceeding the size of MPLABX in RAM (seen by Task Manager) of 1200-1500 MB. And if the MPLABX takes up memory of 2,5-3 GB, the speed of debugging is very low and I have to restart MPLABX.
 
Regards,
Sergey.
#16
Sergey9905
Starting Member
  • Total Posts : 32
  • Reward points : 0
  • Joined: 2011/12/24 14:53:11
  • Location: Russian Federation
  • Status: offline
Re: MPLAB X v5.30 as time passes it becomes slower 2019/11/30 05:15:21 (permalink) ☄ Helpfulby DominusT 2019/11/30 11:46:13
+2 (2)
I just have remembered one more reason of lowing the speed of MPLABX while debugging. If you close such hanging MPLABX not by taskmgr, but by closing the window of MPLABX, then starting a new session of MPLABX, you may have some other processes of the same version of MPLABX placed in RAM. So, "kill 'em all" ! ))).
I think that my experience of resoving such the problems of speeding the MPLABX up will help you.
 
Regards,
Sergey.
 
#17
Sergey9905
Starting Member
  • Total Posts : 32
  • Reward points : 0
  • Joined: 2011/12/24 14:53:11
  • Location: Russian Federation
  • Status: offline
Re: MPLAB X v5.30 as time passes it becomes slower 2019/11/30 05:25:52 (permalink)
0
Gort2015
I had a problem with mplab x not listing structure contents in C. (selector)
After a format and re-install of Windows 7 64bit it then worked fine.
 
Might be worth a shot.
 
Can you get by without using the debugger?  It's not essential and if it is broken why bother ?
 


Try to use this : right click on the project's name and select Code Assistance->Reparse Project.

Regards,
Sergey.
#18
DominusT
Super Member
  • Total Posts : 1419
  • Reward points : 0
  • Joined: 2005/07/22 08:31:18
  • Status: offline
Re: MPLAB X v5.30 as time passes it becomes slower 2019/11/30 06:26:22 (permalink)
0
Sergey9905
Hi, Dominus! I have had sometimes the same problem with many previous versions of MPLABX (5.x.x and 4.x.x) when working with a PIC32MZ, XC32 v2.xx and ICD3/Real ICE/PICkit4 (Win7/ Win 10, 64 bits).
 
 
The first decision was to increase the Java's cache. To do this, see the Speed Up MPLAB X IDE chapter of MPLAB_X_IDE_Users_Guide.
But one next time you may have the same problem of lowing the speed of MPLABX during debugging.
The other decision to speed up MPLABX is to clear the cache of MPLABX. Go to the folder
c:\Users\YourUserName\AppData\Roaming\mplab_ide\dev\ and delete the folder with the version of  MPLABX you work in.
 
The third way of speeding MPLABX up is to delete the unresolved wathes in Watch window of MPLABX. Sometimes if you try to wait while MPLABX listing your variables in Watch window, you'll see in the top of Watch window someting like this : "Unresolved wathes: 163, Total time : 213459 (ms) - Right click for options...". Right click and delete them.
 
And the forth solution is to uninstall the MPLABX and roll back the version of MPLABX.
But if I have debugging with watching the big arrays, I experience lowing the  speed after exceeding the size of MPLABX in RAM (seen by Task Manager) of 1200-1500 MB. And if the MPLABX takes up memory of 2,5-3 GB, the speed of debugging is very low and I have to restart MPLABX.
 
Regards,
Sergey.




Thank you very much for your suggestions, try to implement them. As you mention, if I have several 256-byte arrays with watching, maybe that is the problem.
 
But what scares me the most is that DMA doesn't work correctly with version 5.30, it is as if I add something else in the code and I am not talking in debug mode but in both, debug and execution
#19
DominusT
Super Member
  • Total Posts : 1419
  • Reward points : 0
  • Joined: 2005/07/22 08:31:18
  • Status: offline
Re: MPLAB X v5.30 as time passes it becomes slower 2019/11/30 11:45:42 (permalink)
0
Sergey9905
Hi, Dominus! I have had sometimes the same problem with many previous versions of MPLABX (5.x.x and 4.x.x) when working with a PIC32MZ, XC32 v2.xx and ICD3/Real ICE/PICkit4 (Win7/ Win 10, 64 bits).
 
 
The first decision was to increase the Java's cache. To do this, see the Speed Up MPLAB X IDE chapter of MPLAB_X_IDE_Users_Guide.
But one next time you may have the same problem of lowing the speed of MPLABX during debugging.
The other decision to speed up MPLABX is to clear the cache of MPLABX. Go to the folder
c:\Users\YourUserName\AppData\Roaming\mplab_ide\dev\ and delete the folder with the version of  MPLABX you work in.
 
The third way of speeding MPLABX up is to delete the unresolved wathes in Watch window of MPLABX. Sometimes if you try to wait while MPLABX listing your variables in Watch window, you'll see in the top of Watch window someting like this : "Unresolved wathes: 163, Total time : 213459 (ms) - Right click for options...". Right click and delete them.
 
And the forth solution is to uninstall the MPLABX and roll back the version of MPLABX.
But if I have debugging with watching the big arrays, I experience lowing the  speed after exceeding the size of MPLABX in RAM (seen by Task Manager) of 1200-1500 MB. And if the MPLABX takes up memory of 2,5-3 GB, the speed of debugging is very low and I have to restart MPLABX.
 
Regards,
Sergey.


It seems that the problem of slowness has been solved. thanks for your help
#20
Page: 12 > Showing page 1 of 2
Jump to:
© 2020 APG vNext Commercial Version 4.5