Jump to content

Search the Community

Showing results for tags 'garbage collector'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Welcome to UNIGINE Forums
    • News & Announcements
    • Getting started
  • Development
    • Content Creation
    • World Design
    • Rendering
    • Animation
    • Physics, Navigation and Path Finding
    • UI Systems
    • Sound & Video
    • Editor
    • C++ Programming
    • C# Programming
    • Networking
    • Sim IG (Image Generator)
    • VR Discussions
    • General
  • Improving UNIGINE
    • Documentation
    • Feeback for UNIGINE team
    • Bug Reports
    • Unigine SDK Beta feedback
  • Community
    • Collaboration
    • Tools, Plugins, Materials & Tutorials
    • Showcase
    • General Discussions
  • Legacy
    • UnigineScript

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...

Found 1 result

  1. Garbage collector functioning

    I would like to know details about how the garbage collector works. I have this function void foo(){ int dummy[]; for(int i=0; i<10000; i++){ dummy.append(new XmlMessage(engine.getDataPath() + XML_FILENAME)); } } According to the definition of the garbage collector, the objects inside dummy should be deleted by the GC, but instead, the program is running bigger and bigger in memory. Is strictly necessary to call delete on those objects in order to get the GC disposing them? What would happen if I create several objects in a thread and that thread dies later on? Is that memory garbage collected? Thanks!
  • Create New...