FPS Drop over time

  • jacob1
    5th Sep 2013 Developer 0 Permalink
    I have left tpt running before and not seen any HUUUUUGE memory leaks like 1.3GB, but if it were doing that to you that would definitely be the cause of the lag. Does it happen as soon as you start up and just leave it empty? Do you have any odd settings on, or lua scripts running?

    I have similar computer specs to you and don't get this.

    Edit: I tried changing all the settings, even double sized screen mode, and couldn't make it happen still
    Edited once by jacob1. Last: 5th Sep 2013
  • boxmein
    5th Sep 2013 Former Staff 2 Permalink
    @china-richway2 (View Post)
    >That means, this problem is because particles does not disappear for a long time

    @Oats (View Post)
    >Maybe tpt has some inert memory leak. Perhaps we should double cheack the parts of the code that free memory?

    Please never again ever fire a gun with a blindfold, or for that matter, take blind stabs at how Powder Toy does its things. If you find the source code line that causes this, feel free to poke at it while it isn't fixed but really.
  • doyfo
    5th Sep 2013 Banned 1 Permalink
    This post is hidden because the user is banned
  • china-richway2
    7th Sep 2013 Member 0 Permalink

    @boxmein (View Post)

    I like disassembling and find passwords. I'm just doing that on TPT this time.

     

    @jacob1

    This is my powder.pref file without my password:

    {
     "InstallCheck" : true,
     "Renderer" : {
      "ColourMode" : "0",
      "DisplayModes" : [],
      "RenderModes" : [
       "400f381"
      ],
      "GravityField" : false,
      "Decorations" : true,
      "DebugMode" : true
     },
     "Simulation" : {
      "EdgeMode" : "0",
      "NewtonianGravity" : "0",
      "AmbientHeat" : "0",
      "PrettyPowder" : "0"
     },
     "Decoration" : {
      "Red" : "0",
      "Green" : "0",
      "Blue" : "0",
      "Alpha" : "ff"
     },
     "User" : {

    ####fake####
     },
     "Scale" : "1",
     "Console" : {
      "History" : [

    ####nospam####
      ]
     },
     "WindowX" : "172",
     "WindowY" : "ed"
    }

    Edited 3 times by china-richway2. Last: 7th Sep 2013
  • jacob2
    7th Sep 2013 Member 0 Permalink
    Everything looks normal there, so it must be something else. I was thinking maybe double size mode but I guess not. You do absolutely nothing once starting it up, right?
  • china-richway2
    7th Sep 2013 Member 0 Permalink

    @jacob2 (View Post)

    Empty screen works for me. Normal saves, static saves work for me. My processor don't work for me.

    No, this screen is too small to use double size mode. (I didn't test full screen mode)

    Edited once by china-richway2. Last: 7th Sep 2013
  • mniip
    7th Sep 2013 Developer 0 Permalink
    @china-richway2 (View Post)
    particle array is never deallocated
  • greymatter
    7th Sep 2013 Member 1 Permalink
    @doyfo (View Post)
    doy?

    and I left TPT running for about half an hour but didn't experience any lag or fps drop on an empty simulation.
    Edited once by greymatter. Last: 7th Sep 2013
  • mniip
    7th Sep 2013 Developer 0 Permalink
    @jacob1 (View Post)
    There's a memory leak in browser, you can make it allocate infinite memory by simply viewing a lot of pages or previewing each save
  • china-richway2
    7th Sep 2013 Member 0 Permalink

    @mniip (View Post)

     Yes, I say something related to particle array (for example, memory that stores portal data) and that block of memory didn't free

    Edited once by china-richway2. Last: 7th Sep 2013