Why does Daz Studio take SO LONG to delete scene objects... sometimes?

13»

Comments

  • TaozTaoz Posts: 9,979
    Sevrin said:

    What's always struck me as odd is that it's faster to shutdown DS and restart it, as slow as that it, than to wait for everything to get deleted when creating a new scene after saving the old one.

    Well if you shut down DS normally it may still run for a good while and during that even increase RAM use considerably, until it shuts down completely.  And with the later versions you can't restart it before that has happened.  So for instant restart you have to kill it in Task Manager, it seems.

     

     

     

  • TaozTaoz Posts: 9,979
    Robinson said:
    Taoz said:

    I can understand that loading things may take a while, but clearing a scene?  I presume that data are stored in variables and arrays in memory (not on disk) and these can be cleared in a split second.  Even if they are stored on disk the amount of data can't be so large that it takes minutes to clear it.  There's no need to process any data, it's just about clearing.  With smaller scenes I often just delete the objects (or any I don't need for the next scene) instead of clearing the scene, it usually takes less than a second.  Undo data will be cleared automatically as you build the new scene because of the 20 undoes limitation.

    It's a function of the software design and the paradigms in use, as is the slow loading.  Creation and destruction of thousands of small objects is no sweat for a modern OS.  The problem is if those objects fire off events to a bunch of other objects (exponentially increasing the amount of code that gets run) when they die.  There's an additional burden of creating command objects for undo/redo, which in Daz seems to work sometimes but not quite always (e.g. undo a delete and in some cases materials are messed up).  Impossible to say without seeing the code of course, but I suspect something like that is going on.

    Well I don't know the code either so hard to tell what's going on.  Considering you can manually delete everything in a scene in a second or two and then load new stuff into that scene instantly, it does seem strange though that clearing the scene using NEW takes so long. 

  • emu42emu42 Posts: 50

    I am facing this issue right now in the current 4.12 release version. As others have hinted, it seems to be a lot worse when you try to delete several objects at once. So I left my PC alone for about 2 hours and a half to do other things and now that I am back DS is still busy deleting those objects. indecision

  • RobinsonRobinson Posts: 751

    2.5 hours?  Well that doesn't sound right to me.  Sounds like it's dead actually.  When I read slow deletion, I was thinking seconds or at most a few minutes, depending on scene complexity, not hours.

  • PerttiAPerttiA Posts: 10,024
    Robinson said:

    2.5 hours?  Well that doesn't sound right to me.  Sounds like it's dead actually.  When I read slow deletion, I was thinking seconds or at most a few minutes, depending on scene complexity, not hours.

    20-25 minutes has been quite normal before DS has released the resources and exited from the task manager

  • SevrinSevrin Posts: 6,310
    emu42 said:

    I am facing this issue right now in the current 4.12 release version. As others have hinted, it seems to be a lot worse when you try to delete several objects at once. So I left my PC alone for about 2 hours and a half to do other things and now that I am back DS is still busy deleting those objects. indecision

    DS may have been busy doing something when you deleted the objects.  If it's not done in two hours, it's not going to get done, and you'll need to kill it.

  • vagansvagans Posts: 422
    PerttiA said:
    Robinson said:

    2.5 hours?  Well that doesn't sound right to me.  Sounds like it's dead actually.  When I read slow deletion, I was thinking seconds or at most a few minutes, depending on scene complexity, not hours.

    20-25 minutes has been quite normal before DS has released the resources and exited from the task manager

    wow and I thought 5-10 minutes for release was taking awhile.

  • PerttiAPerttiA Posts: 10,024
    vagans said:
    PerttiA said:
    Robinson said:

    2.5 hours?  Well that doesn't sound right to me.  Sounds like it's dead actually.  When I read slow deletion, I was thinking seconds or at most a few minutes, depending on scene complexity, not hours.

    20-25 minutes has been quite normal before DS has released the resources and exited from the task manager

    wow and I thought 5-10 minutes for release was taking awhile.

    One reason I'm still using 4.12.0.86, that allows opening a new instance even when there is another one running (closing down)

  • PerttiA said:
    vagans said:
    PerttiA said:
    Robinson said:

    2.5 hours?  Well that doesn't sound right to me.  Sounds like it's dead actually.  When I read slow deletion, I was thinking seconds or at most a few minutes, depending on scene complexity, not hours.

    20-25 minutes has been quite normal before DS has released the resources and exited from the task manager

    wow and I thought 5-10 minutes for release was taking awhile.

    One reason I'm still using 4.12.0.86, that allows opening a new instance even when there is another one running (closing down)

    Current versions of DS allow starting a new instance, but it has to have a different name (and of course if DS is in the process of closing you can't use it to run the script for launching instances - though if it's a frequent issue you could prepare  a shortcut iin advance of the need).

  • SevrinSevrin Posts: 6,310
    PerttiA said:
    vagans said:
    PerttiA said:
    Robinson said:

    2.5 hours?  Well that doesn't sound right to me.  Sounds like it's dead actually.  When I read slow deletion, I was thinking seconds or at most a few minutes, depending on scene complexity, not hours.

    20-25 minutes has been quite normal before DS has released the resources and exited from the task manager

    wow and I thought 5-10 minutes for release was taking awhile.

    One reason I'm still using 4.12.0.86, that allows opening a new instance even when there is another one running (closing down)

    I can open a second instance with the current public build.

  • PerttiAPerttiA Posts: 10,024
    PerttiA said:
    vagans said:
    PerttiA said:
    Robinson said:

    2.5 hours?  Well that doesn't sound right to me.  Sounds like it's dead actually.  When I read slow deletion, I was thinking seconds or at most a few minutes, depending on scene complexity, not hours.

    20-25 minutes has been quite normal before DS has released the resources and exited from the task manager

    wow and I thought 5-10 minutes for release was taking awhile.

    One reason I'm still using 4.12.0.86, that allows opening a new instance even when there is another one running (closing down)

    Current versions of DS allow starting a new instance, but it has to have a different name (and of course if DS is in the process of closing you can't use it to run the script for launching instances - though if it's a frequent issue you could prepare  a shortcut iin advance of the need).

    I'll just wait for the next non-beta as there are no problems with this setup.

Sign In or Register to comment.