Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by Stone-Legion · Aug 14, 2014 at 07:17 PM · editormemory managementmemory-leak

Unity editor memory leak

When opening the Unity editor, I notice the memory usage slowly keeps crawling up. It started with about 350MB memory usage, now it is at 490MB two minutes later while just leaving the editor idle. It is increasing in memory usage at about 100KB every few seconds. I'm not doing anything in the editor, it is idle.

Another problem I noticed is that after previewing a scene by pressing play, once finished and stopping the scene the memory usage doesn't reduce again. So if I click play, then stop, then reload and play again the memory usage just keeps going up and up to the point I then have to close/open the unity editor because it crashes running out of memory that should have been cleared from the last time the scene was run and then stopped.

I'm using the latest version of Unity 4.5.

Any suggestions?

Memory leak

alt text

memoryleak.png (13.1 kB)
morememory.png (15.6 kB)
Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image kzial · Sep 21, 2014 at 10:45 AM 0
Share

I have a similar problem. When stopping, the memory is reduced but not completely. After each restart, the memory usage grows and takes twice as much. This is really annoying since it forces me to restart unity after 5-6 running-stopping cycle. I don't know if it is a unity bug or one of the third party editor extension.

avatar image VesuvianPrime · Sep 21, 2014 at 11:31 AM 1
Share

Is this in an empty scene? Does the leak happen in other projects?

Do you have Unity Pro? you can use the Profiler to profile the window and see what is using memory.

There are many different things that could be causing memory leaks, from instantiating a ton of textures to nasty optimization bugs in $$anonymous$$ono.

Perhaps you could give a bit more info on your setup.

avatar image bkmagnetron · Jan 12, 2015 at 11:16 AM 0
Share

I'm also facing this issue even in the version 4.6.1f1.

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

24 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

A node in a childnode? 1 Answer

Player damage stops working over time 0 Answers

Debug the Scene loading time? 0 Answers

Equivalent of OpenFilePanel without using UnityEditor? 5 Answers

MonoDevelop Resizing 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges