Hot!MPLAB X v4.20 sluggish or hanging?

Page: 123 > Showing page 1 of 3
Author
Mysil
Super Member
  • Total Posts : 2885
  • Reward points : 0
  • Joined: 2012/07/01 04:19:50
  • Location: Norway
  • Status: offline
2018/06/12 10:12:08 (permalink)
4 (2)

MPLAB X v4.20 sluggish or hanging?

After installing MPLAB X v4.20 some days ago,
IDE response have been worse than ever. 
 
Opening an existing project from list of recent projects, cursor change to a pointing hand,
and no more reaction. Letting it sit for 2 hours, there is no response.
Terminating javaw and mplab_ide, and rebooting computer,
when opening MPLAB X, it comes up with the project already open!
Using  Windows 7, on a laptop with 16 GB memory.
 
In MPLAB X Forum there is a sticky thread in the top of the page boldly announcing:
"MPLAB X IDE v4.10 Released" , message dated 7. february.
We are now in june 2018, and MPLAB is at version 4.20. 
For such announcement to make sense, it should be kept up to date.
 
   Mysil
post edited by Mysil - 2018/06/12 10:15:52
#1

59 Replies Related Threads

    DarioG
    Allmächtig.
    • Total Posts : 54081
    • Reward points : 0
    • Joined: 2006/02/25 08:58:22
    • Location: Oesterreich
    • Status: offline
    Re: MPLAB X v4.20 sluggish or hanging? 2018/06/12 10:23:13 (permalink)
    0
    I tried it quickly, opened/compiled a project for a pic32, and looked more or less the same usual stuff
     
    4GB XP java some 1.8

    GENOVA :D :D ! GODO
    #2
    rodims
    Super Member
    • Total Posts : 1351
    • Reward points : 0
    • Joined: 2009/02/10 11:08:59
    • Location: 51.9627, 7.6262
    • Status: online
    Re: MPLAB X v4.20 sluggish or hanging? 2018/06/12 10:31:30 (permalink)
    0
    Works for me, same as previous versions.
    Windows 10 x64, 1803. MpLabX 4.20, PIC24 projects.  (and two different PCs)
    #3
    Gort2015
    Klaatu Barada Nikto
    • Total Posts : 2645
    • Reward points : 0
    • Joined: 2015/04/30 10:49:57
    • Location: 0
    • Status: offline
    Re: MPLAB X v4.20 sluggish or hanging? 2018/06/12 10:52:19 (permalink)
    0
    Also using 4.20, runs super-fast.
    Win7 64bit, 16GB ram, 1TB ssd and cpu clocked to 3.8GHz.
     
    A few weeks ago I formatted my pc and did a fresh install.

    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.
    #4
    Howard Long
    Super Member
    • Total Posts : 405
    • Reward points : 0
    • Joined: 2005/04/04 08:50:32
    • Status: offline
    Re: MPLAB X v4.20 sluggish or hanging? 2018/06/12 13:32:03 (permalink)
    0
    Seems OK performance-wise here, dual Xeon E5-2696v2 (24 core, 48 thread total) 64GB RAM, Windows 10 x64, 2TB SSD. Not that you need all those cores, but if you have a number of projects open it sure speeds up the loading and compiling ;-)
    #5
    KTrenholm
    Super Member
    • Total Posts : 475
    • Reward points : 0
    • Joined: 2012/08/08 14:04:23
    • Location: Connecticut, USA
    • Status: online
    Re: MPLAB X v4.20 sluggish or hanging? 2018/06/12 13:42:58 (permalink)
    +1 (1)
    No such behavior on my end (at least, no more sluggish than normal). I'm running an i5-3550 w/ Windows 7 x64 with 8GB of RAM for my workstation so not a slouch but not much of a powerhouse either nowadays.
    I should pick up some more RAM though, things start to get dicey if I'm running MPLAB X and Visual Studio at the same time...
     
    #6
    qɥb
    Monolothic Member
    • Total Posts : 3329
    • Reward points : 0
    • Joined: 2017/09/09 05:07:30
    • Location: Jupiter
    • Status: offline
    Re: MPLAB X v4.20 sluggish or hanging? 2018/06/12 13:58:58 (permalink)
    +1 (1)
    Gort2015
    ...
    A few weeks ago I formatted my pc and did a fresh install.

    .. and de-fluffed the video card ;)
     

    This forum is mis-configured so it only works correctly if you access it via https protocol.
    The Microchip website links to it using http protocol. Will they ever catch on?
    PicForum "it just works"
    #7
    Gort2015
    Klaatu Barada Nikto
    • Total Posts : 2645
    • Reward points : 0
    • Joined: 2015/04/30 10:49:57
    • Location: 0
    • Status: offline
    Re: MPLAB X v4.20 sluggish or hanging? 2018/06/12 14:22:26 (permalink)
    0
    You re-membered
    Didn't think it could get in that state.
    I use water cooling now.

    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
    northeastman
    Senior Member
    • Total Posts : 124
    • Reward points : 0
    • Joined: 2009/11/07 05:49:38
    • Location: North East England
    • Status: offline
    Re: MPLAB X v4.20 sluggish or hanging? 2018/06/14 08:00:42 (permalink)
    +1 (1)
    Hi,
    most in this thread seem to have no problems with V4.2?
     
    As a long time user of MPLAB X today I tried to upgrade from 4.15 to 4.2.
     
    Installed OK, restarted PC which is ASUS Windows 10 64 bit all up to date.
    8 GB memory.
     
    4.2 starts, opens a project and then does nothing. Mouse can go over MPLAB X but can do nothing.
    Progress bar shows "Opening Projects" but sticks does not continue.
    Shutdown 4.2 & javaw.exe using Task Manager - Restart again with same result.
     
    Deleted 4.2 Cache, still wont start.
    Spent most of today un-installing and re-installing V4.2.
    In Windows error logs it appears that javaw 8 stops responding to Windows.
    In Task Manager javaw is ticking over taking very little CPU time around 0.1% and using 370 MB of memory.
     
    MPLAB X 4.15 still runs OK so will revert to that version. Cannot waste anymore time on V4.2 if no fixes are available then will have to wait for next version before trying to upgrade again.
     
    Anyone with similar problem or with a solution please respond?
     
    Northeastman
    post edited by northeastman - 2018/06/14 08:05:49

    Regards
    Northeastman
    #9
    KTrenholm
    Super Member
    • Total Posts : 475
    • Reward points : 0
    • Joined: 2012/08/08 14:04:23
    • Location: Connecticut, USA
    • Status: online
    Re: MPLAB X v4.20 sluggish or hanging? 2018/06/14 08:34:39 (permalink)
    +1 (1)
    You might be able to get some more info out of the MPLAB X Logging function.
    I think it's Options>Embedded>Diagnostics?
     
    At the very least you could send the results to Microchip via a support ticket and see what they say.
    #10
    northeastman
    Senior Member
    • Total Posts : 124
    • Reward points : 0
    • Joined: 2009/11/07 05:49:38
    • Location: North East England
    • Status: offline
    Re: MPLAB X v4.20 sluggish or hanging? 2018/06/14 12:28:23 (permalink)
    +2 (2)
    KTrenholm,
    thank for your suggestion but once 4.2 hangs there is no access to that menu or command so no access to the log. In any case my experience tells me that the option for logging has to be switched ON before the log is generated and since I cannot get 4.2 to accept any commands...."Catch 22"
     
    Unless the log is saved as a file somewhere during installation I would not be able to send it.
     
    Due to "Make" not accepting spaces or other weird characters in its build I always install to a folder C:\Microchip\MPLABX\... instead of the default of "C:\Program Files (x86) " which obviously involves spaces and the other "weird characters". Not sure why this should be the MS default when they warn against spaces etc in the build!  I think it is a lovely trap for newbies and people trying to use MPLAB X for the first time when using these folders for their first time projects. I have commented on this in a previous post some years ago, (Old forum) but MS have never changed the default folder, so now I change it as a routine.
     
    I would be very happy to raise a ticket and send the log to MS if it would result in a fix.
     
    Thanks very much for the suggestion and I do appreciate you taking the time to respond.
     
    Northeastman

    Regards
    Northeastman
    #11
    KTrenholm
    Super Member
    • Total Posts : 475
    • Reward points : 0
    • Joined: 2012/08/08 14:04:23
    • Location: Connecticut, USA
    • Status: online
    Re: MPLAB X v4.20 sluggish or hanging? 2018/06/14 12:40:15 (permalink)
    +1 (1)
    It might a stretch (I don't know if this setting would carry over), but you could try uninstalling 4.20, going back into your previous version, setting up the logging, then reinstall 4.20 and choose in the installer to keep your settings from 4.15.
     
    That is of course, if that's one of the settings that carries over.
    #12
    northeastman
    Senior Member
    • Total Posts : 124
    • Reward points : 0
    • Joined: 2009/11/07 05:49:38
    • Location: North East England
    • Status: offline
    Re: MPLAB X v4.20 sluggish or hanging? 2018/06/14 23:31:34 (permalink)
    0
    KTrnholm,
    nice idea, but I am really out of time experimenting with MPLAB X 4.20 and must get on with some real work.
     
    If time allows I will try your suggestion. Actually I don't remember being given the option to carry forward any settings? First time I installed I was given the usual option for persistence folders, which I accepted, but subsequent installs did not come up with that choice, which seems to imply something got left behind during the uninstall?
     
    Maybe someone from MS will know if there is such as thing as an install log, or at least how to completely clean MPLAB X, cache folders and all others?
     
    Again, thanks very much for your time.
     
    Northeastman

    Regards
    Northeastman
    #13
    rodims
    Super Member
    • Total Posts : 1351
    • Reward points : 0
    • Joined: 2009/02/10 11:08:59
    • Location: 51.9627, 7.6262
    • Status: online
    Re: MPLAB X v4.20 sluggish or hanging? 2018/06/15 04:48:52 (permalink)
    +2 (2)
    thank for your suggestion but once 4.2 hangs there is no access to that menu or command so no access to the log. In any case my experience tells me that the option for logging has to be switched ON before the log is generated and since I cannot get 4.2 to accept any commands...."Catch 22"

     
     You find the log files here, and they are always written. (I don't know whether there exist different levels)
        C:\Users\ ... \AppData\Roaming\mplab_ide\dev\v4.20\var\log
    However they are "complex" enough that you would need to compare your non-working 4.2 with a working 4.15 log file, which takes time. If you are happy with 4.15 this will not pay off.
    Your small Java memory footprint of some 300 MB seems to show that it is stuck "early".
     
    And you find other mplabx or net-beans configuration here:
       C:\Program Files (x86)\Microchip\MPLABX\v4.20\mplab_platform\etc
     
    KTrenholmI think it's Options>Embedded>Diagnostics?

    yes it is, and I verified that there are many different logging levels.
    Still it writes the startup log file I mentioned even with Logging Level OFF.
    You could find the Logging level setting probably in some xml configuration in those folders.
    post edited by rodims - 2018/06/15 04:53:09
    #14
    rodims
    Super Member
    • Total Posts : 1351
    • Reward points : 0
    • Joined: 2009/02/10 11:08:59
    • Location: 51.9627, 7.6262
    • Status: online
    Re: MPLAB X v4.20 sluggish or hanging? 2018/06/15 04:59:10 (permalink)
    +1 (1)
    Cannot edit previous post:
    The log file written by the various logging levels (default = OFF) refer to a log file with configurable path also in these options.
    So this does not refer to the mentioned  messages.log.* file(s), which are always written.
    post edited by rodims - 2018/06/15 05:31:20
    #15
    northeastman
    Senior Member
    • Total Posts : 124
    • Reward points : 0
    • Joined: 2009/11/07 05:49:38
    • Location: North East England
    • Status: offline
    Re: MPLAB X v4.20 sluggish or hanging? 2018/06/15 06:44:30 (permalink)
    +1 (1)
    Hi Rolf,
    thanks for your contribution. We finally got V4.20 to work using the procedure below.
     
    1. Close V4.15
    2. Uninstall V4.20 using Windows 10 “Programs and Features”
    3. Examine directories and delete all references to V4.20 i.e.
      C:\Users\username\AppData\Roaming\mplab_ide\dev\v4.20
      C:\Users\ username \AppData\Local\mplab_ide\Cache\dev\v4.20
    4. Delete original download file MPLABX-v4.20-windows-installer.exe
    5. Download a new copy
    6. Open 4.15 and set logging to CONFIG
    7. Close Projects in 4.15
    8. Close 4.15
    9. Run install 4.20 using new download.
    10. Installer shows message: Please close all instances of MPLABX before installing. Look in Task Manager there is still an mplab_ide.exe(32 bit) running? Seen this before sometimes there is more than one of these sitting in the Processes list. Stop this task running.
    11. Install V4.20 now installs OK install to C:\Microchip\MPLABX\v4.20.
    12. Restart PC
    13. Run V4.20 and import settings from V4.15 – takes a very long time to do this but now starts.
    14. Logging Level is still showing as CONFIG in V4.20 files have been sent to
      C:\Users\ username \AppData\Roaming\mplab_ide\dev\v4.15\var\log\MPLABX4.15.xml
    Finally everything is working.
     
    Thanks to all who contributed the helpful replies, and we hope the above procedure will assist anyone else who has a similar issue.
     
    Northeastman
     
     

    Regards
    Northeastman
    #16
    werner
    Starting Member
    • Total Posts : 53
    • Reward points : 0
    • Joined: 2003/11/07 12:38:58
    • Status: offline
    Re: MPLAB X v4.20 sluggish or hanging? 2018/06/24 06:01:45 (permalink)
    0
    I have the same problem. 
    Yesterday I updated from V4.01. After installing and importing settings it tries to open the project I used last time in V4.01 but it hangs.
    So I uninstalled it, started V4.01, closed the project, reinstalled V4.20, started it and than opened my project. It worked. But today I have the same problem. No chance to open the project or to do anything.
    I will switch back to V4.01 and wait for a better version in future!!!!!!!!
    Maybe it depends on the project, I have a mixed C/assember project with old C18 compiler
    Greetings,
    Werner
    #17
    Ivan Cenov
    Super Member
    • Total Posts : 274
    • Reward points : 0
    • Joined: 2003/11/07 12:36:51
    • Location: Bulgaria
    • Status: offline
    Re: MPLAB X v4.20 sluggish or hanging? 2018/06/25 00:20:29 (permalink)
    +1 (1)
    Same to me, on Windows 10 that is installed over Windows 7. However it works without problems on Windows 2016, fresh install. It hangs on another laptop with Windows 7 on it.
     
    MPLAB X freezes and the only thing that can be done is to kill the java process in Task manager.
     
    I tried to delete all generated files in build, debug, dist folders, nbproject/*.mk files, nbproject/private/*.*. Sometimes this helped but not always. This morning it did not helped, and seeing that other peoples meet the same problem, I decided to stay with 4.15 until there is some reaction from Microchip.
     
    P.S. It seems MPLAB X 4.20 is the first version that is going to work with the new 2.0 version of XC compilers. An option is added to select C standard - C89, C90 or C99. This option is not present in 4.15.
     
    Ivan
    #18
    jmcginnis
    New Member
    • Total Posts : 2
    • Reward points : 0
    • Joined: 2018/06/26 08:19:12
    • Location: 0
    • Status: offline
    Re: MPLAB X v4.20 sluggish or hanging? 2018/06/26 09:52:56 (permalink)
    +1 (1)
    I've had similar problems with hangs on startup. I'm running Windows 10 Pro 64-bit. I was able to get past the hang by renaming the my project so MPLAB wouldn't try to open it, then shutting down MPLAB and restarting it, and finally opening my project again.
    #19
    Ivan Cenov
    Super Member
    • Total Posts : 274
    • Reward points : 0
    • Joined: 2003/11/07 12:36:51
    • Location: Bulgaria
    • Status: offline
    Re: MPLAB X v4.20 sluggish or hanging? 2018/06/26 23:45:25 (permalink)
    0
    I tried to re-create the project (the same source files, new project.X, XC8 1.45). The project compiles, all is OK until MPLAB X 4.20 is closed. After restarting it, MPLAB X freezes. I thought that there is some in the project XML files... It seems that the problem is in MPLAB X itself...
    #20
    Page: 123 > Showing page 1 of 3
    Jump to:
    © 2018 APG vNext Commercial Version 4.5