Thread: Slow VPS or pc to run Intellij IDE? Quick fix

Page 1 of 4 123 ... LastLast
Results 1 to 10 of 40
  1. #1 Slow VPS or pc to run Intellij IDE? Quick fix 
    Banned


    Join Date
    Dec 2019
    Age
    28
    Posts
    309
    Thanks given
    226
    Thanks received
    122
    Rep Power
    0
    If your vps is 4gb ram or less and you find Intellij is lagging a shit ton, this is an easy way to speed it up.

    DO AT UR OWN RISK, IM NEW TO THIS IDE but helped me

    If you actually read to, this is FOR RUNNING your rsps. For the following replies below.

    Go to help > custom vm options and add this:

    Code:
    -ea
    -server
    -Xms2G
    -Xmx4096M
    -Xss2m
    -XX:MaxMetaspaceSize=2G
    -XX:ReservedCodeCacheSize=1G
    -XX:MetaspaceSize=512m
    -XX:+UseConcMarkSweepGC
    -XX:+DoEscapeAnalysis
    -XX:SoftRefLRUPolicyMSPerMB=50
    -XX:+UnlockExperimentalVMOptions
    -Djava.net.preferIPv4Stack=true
    -Dsun.io.useCanonCaches=false
    -XX:LargePageSizeInBytes=256m
    -XX:+UseCodeCacheFlushing
    -XX:ParallelGCThreads=8
    -XX:+DisableExplicitGC
    -XX:+ExplicitGCInvokesConcurrent
    -XX:+PrintGCDetails
    -XX:+PrintFlagsFinal
    -XX:+AggressiveOpts
    -XX:+CMSClassUnloadingEnabled
    -XX:CMSInitiatingOccupancyFraction=60
    -XX:+CMSClassUnloadingEnabled
    -XX:+CMSParallelRemarkEnabled
    -XX:+UseAdaptiveGCBoundary
    -XX:+UseSplitVerifier
    -XX:CompileThreshold=10000
    -XX:+OptimizeStringConcat
    -XX:+UseStringCache
    -XX:+UseFastAccessorMethods
    -XX:+UnlockDiagnosticVMOptions
    -XX:+HeapDumpOnOutOfMemoryError
    -XX:+UseCompressedOops
    -XX:-OmitStackTraceInFastThrow
    -Dawt.useSystemAAFontSettings=lcd
    
    -Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine
    speeds up your compile time to.

    the vps im working on was really slow and this helped, hopefully helps others to when running servers like Kronos etc
    Last edited by idrc; 04-09-2021 at 11:01 PM.
    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    SiteTrec Hosting

    Project's Avatar
    Join Date
    Dec 2010
    Posts
    2,668
    Thanks given
    1,032
    Thanks received
    828
    Rep Power
    1072
    A Virtual Private Server shouldn't be used for development, only running the server.

    Here you mention "if your vps is 2gb ram or less"
    The VM options allocates 4 gb of ram..doesn't really make sense for this part, should be as needed.

    Thanks anyway
    DDOS PROTECTED WEB & VPS AT AN AFFORDABLE COST
    Reply With Quote  
     

  4. Thankful user:


  5. #3  
    Banned


    Join Date
    Dec 2019
    Age
    28
    Posts
    309
    Thanks given
    226
    Thanks received
    122
    Rep Power
    0
    Quote Originally Posted by Project View Post
    A Virtual Private Server shouldn't be used for development, only running the server.

    Here you mention "if your vps is 2gb ram or less"
    The VM options allocates 4 gb of ram..doesn't really make sense for this part, should be as needed.

    Thanks anyway
    Yeah so switch it to allocate 2gb ram, dont need to be spoon fed. Why can't it be used for development? If you need to do a change, you need to obviously make changes using the vps. Yeah I'm aware github is out there, but not many people take the time to set that up...................

    Thanks, my tutorial is helpful in some ways as this is what happens before for only *running the server* *cough cough*


    Unless you prefer waiting 17 mins every time you build or run on cheap vps either upgrade your ram or follow this snippet...

    And what do you think this is? lol...

    //-Xms2G
    Reply With Quote  
     

  6. #4  
    what the dog doin

    cis priviledge's Avatar
    Join Date
    Aug 2017
    Posts
    911
    Thanks given
    680
    Thanks received
    698
    Rep Power
    4831
    although you shouldnt be programming on a vps, i can see this maybe being useful for low end pcs
    Last edited by cis priviledge; 04-08-2021 at 08:53 AM.
    Reply With Quote  
     

  7. Thankful user:


  8. #5  
    Banned


    Join Date
    Dec 2019
    Age
    28
    Posts
    309
    Thanks given
    226
    Thanks received
    122
    Rep Power
    0
    Quote Originally Posted by cis priviledge View Post
    this thread should not exist
    then it can be deleted idc

    cant help anyone in this community, whats the sense in having a fucking help section

    for people to only flame

    rather taking initiative to have decency to say something better
    Reply With Quote  
     

  9. #6  
    Registered Member
    NeilG's Avatar
    Join Date
    Jul 2013
    Posts
    246
    Thanks given
    65
    Thanks received
    363
    Rep Power
    1240
    Your code is giving me errors on eclipse
    help
    Reply With Quote  
     

  10. Thankful user:


  11. #7  
    Banned


    Join Date
    Dec 2019
    Age
    28
    Posts
    309
    Thanks given
    226
    Thanks received
    122
    Rep Power
    0
    Quote Originally Posted by NeilG View Post
    Your code is giving me errors on eclipse
    help
    i wouldnt have problems if i used eclipse lol

    i grew up using it

    intellij is still relatively new to me lol

    and no hard feelings to mikan, my favorite user of all time
    Reply With Quote  
     

  12. #8  
    SpawnScape Owner

    jet kai's Avatar
    Join Date
    Dec 2009
    Age
    25
    Posts
    708
    Thanks given
    315
    Thanks received
    265
    Rep Power
    2006
    I use most of these settings for my MineCraft server, can confirm it helps speed up MC at least
    Spoiler for sig too large:

    [SPOIL]

    [/spoil]
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  13. #9  
    V.C.C.

    Join Date
    Nov 2010
    Posts
    2,237
    Thanks given
    381
    Thanks received
    672
    Rep Power
    370
    Quote Originally Posted by idrc View Post
    Yeah so switch it to allocate 2gb ram, dont need to be spoon fed. Why can't it be used for development? If you need to do a change, you need to obviously make changes using the vps. Yeah I'm aware github is out there, but not many people take the time to set that up...................

    Thanks, my tutorial is helpful in some ways as this is what happens before for only *running the server* *cough cough*


    Unless you prefer waiting 17 mins every time you build or run on cheap vps either upgrade your ram or follow this snippet...

    And what do you think this is? lol...

    //-Xms2G
    Lmfao wtf are you saying
    Reply With Quote  
     

  14. #10  
    Banned


    Join Date
    Dec 2019
    Age
    28
    Posts
    309
    Thanks given
    226
    Thanks received
    122
    Rep Power
    0
    Quote Originally Posted by Abnant View Post
    Lmfao wtf are you saying
    read

    just trying to be a helpful rune-server person and help out newcomers, dont hate toxic member
    Reply With Quote  
     

Page 1 of 4 123 ... LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 2
    Last Post: 03-15-2014, 06:31 PM
  2. Linux Vps (GEtting it to run)
    By Infected-Pkz in forum Help
    Replies: 5
    Last Post: 07-20-2012, 10:17 PM
  3. Replies: 15
    Last Post: 10-11-2009, 10:26 AM
  4. Replies: 1
    Last Post: 08-18-2009, 12:10 AM
  5. Replies: 6
    Last Post: 05-19-2009, 09:33 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •