• AVR Freaks

Hot!XC8 compiles painfully slow

Author
picmaster75
New Member
  • Total Posts : 20
  • Reward points : 0
  • Joined: 2018/09/21 03:45:11
  • Location: 0
  • Status: offline
2019/08/22 07:28:43 (permalink)
0

XC8 compiles painfully slow

Hi All,
I have a PIC18F47K42 project, in MPLABX 5.25 and XC8 compiler 2.10 , with 32% program code .
Compiling this takes upto 1 minute !
I see some files take more then 10 seconds in the build window.
This problems seemed to started after installing the rlm server, before the compiler just needed 21 seconds to compile the same code, so i'm not looking in the anti virus direction.
The RLM server is the only thing thats changed meanwhile. Deactivating rlm service did not work though.
How can i make this compiler as fast as possible?
Thank you
#1

4 Replies Related Threads

    du00000001
    Just Some Member
    • Total Posts : 2998
    • Reward points : 0
    • Joined: 2016/05/03 13:52:42
    • Location: Germany
    • Status: offline
    Re: XC8 compiles painfully slow 2019/08/22 07:56:53 (permalink)
    +3 (3)
    Uninstalling the RLM server ?

    PEBKAC / EBKAC / POBCAK / PICNIC (eventually see en.wikipedia.org)
    #2
    NKurzman
    A Guy on the Net
    • Total Posts : 17709
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: online
    Re: XC8 compiles painfully slow 2019/08/22 09:47:48 (permalink)
    +2 (2)
    What OS? How Many Cores? How Much RAM.  More Cores and More RAM help.  
    Not sure what Issue you have with your RLM Server.  Is it the Latest version?
    #3
    picmaster75
    New Member
    • Total Posts : 20
    • Reward points : 0
    • Joined: 2018/09/21 03:45:11
    • Location: 0
    • Status: offline
    Re: XC8 compiles painfully slow 2019/08/24 06:36:10 (permalink)
    0
    Thanks for the help !
     
    1 day later the speed was ok again, while i did not changed anything .
    But i did noticed, when i removed internet connection, MPLAB hangs, maybe because XC8 need an internetconnection? Is it possible the compiler performs badly when there is a slow internet connection?
     
    i have W10, 6 cores, 16G RAM. I have the latest RLM installed on the same laptop as MPLAB
     
     
    #4
    Gort2015
    Klaatu Barada Nikto
    • Total Posts : 3233
    • Reward points : 0
    • Joined: 2015/04/30 10:49:57
    • Location: 0
    • Status: offline
    Re: XC8 compiles painfully slow 2019/08/24 09:23:21 (permalink)
    0
    I dis-connected from the Matrix and found that MPlab X compiled just the same.
    Other tasks are slowing down your laptop.
     
    21 seconds - struth!
     

    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
    Jump to:
    © 2019 APG vNext Commercial Version 4.5