Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
0
Question by ethan2018218 · Mar 25, 2017 at 07:23 AM · technical

Unity using too much RAM.

Hello, I am running a 2016 MacBook Pro with 16GB of RAM, however I've noticed recently that Unity will all of a sudden consume massive amounts of RAM, even if it is the only application open. If I check activity monitor it will report up to 15GB of RAM being used. I am just a amateur developer so I am not running any extremely big scenes. Unity itself reports only around 500MB of RAM being used in the profiler, but when I check the total system RAM used, it tells me up to 15GB is taken. It is extremely frustrating because even though Unity is the only application open, it will suck all the RAM out of my computer until it forces a crash. I have to restart unity every 20 minutes or so to keep my computer from crashing. Is there a massive memory leak somewhere? How can I limit Unity's memory use? I know some games are big but it should never be using more than 15GB of RAM at a time. Additionally, I am designing a game with my friend and we are both running the same scene, but he only has 4GB of RAM and no problems.

Comment
Add comment · Show 4
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 mattis89 · Nov 15, 2017 at 09:28 AM 0
Share

I have same issue.. i dont undersrand why.. found a solution?

avatar image DavidSarre · Nov 15, 2017 at 03:41 PM 0
Share

I'm also eperiencing the same issue. At first start unity ram usage looks fairly normal, then after I've started my game a few times it starts being slow. While fps are still O$$anonymous$$ and profiler too, windows indicates that unity uses too much ram. It looks like it's getting worst everytime i launch my game (until I restart unity) so I issumed it has something to do with my code, not unity.

I havent checked on other project though, it might answer if the problem is Unity or our games ;)

avatar image Bunny83 DavidSarre · Nov 16, 2017 at 02:05 AM 0
Share

Windows? He's on a $$anonymous$$ac... Actually I'm on a Win10 x64 system with 12GB ram. I have Unity always open along with VisualStudio, Firefox, Thunderbird, ILSpy and some other $$anonymous$$or applications. However i have no problem in addition to the mentioned programs to run a modded $$anonymous$$ecraft server + client (SkyFactory3) in the background while playing Halflife2 without problems. $$anonymous$$inecraft eats up the most ram (8GB).


It has to be something specific in your cases. Do you use lightmaps?, Navmeshes?, Occlusion culling? In short anything that might trigger background processing?


Currently my Unity (version 5.6.1f1) uses 220 $$anonymous$$B while Firefox uses 1.28 GB. ILSpy as well as VisualStudio both about 41$$anonymous$$B


It's difficult to actually give an answer or advice since the information provided doesn't tell us much about what might go wrong here.

avatar image Hatsuko · Nov 16, 2017 at 06:19 AM 0
Share

Does it effect? Edit > Preferences > GI Cache > $$anonymous$$aximum Cache Size

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by mattis89 · Nov 16, 2017 at 09:25 AM

Im on windows 7 64bit.. unity verision 5.6.2.f1.. i have 25gb ram , intel i5 2500k, gtx 750ti oc...

Using assets ; gaia, gena, suimono, tenkoku, unature, simple fence, instant roads, advanced foliage...

My generated terrain take 1.6gb 8x8km 4096 detail 4097 heightmap , patch 16... Terrain textured and spawned details 3gb...

Usinc unature it goes up to 20gb ram used but it will be fixed in a patch tomorrow...

But before unature I had around 13gb ram consumption for a terrain 8x8km squared.. with stones, mesh caves, houses with some interior and cloth physics.. Trees, bushes ( not everywhere, way too little) Small stones as decor (without collider and low texture, chart size 2)10 000 pieces on my poi locations.. Sticks samething as above mentioned decor stones 11 000... Setpass calls is a bit beyond 4000 (there goes my fps?)

Comment
Add comment · Show 1 · Share
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 mattis89 · Nov 16, 2017 at 09:26 AM 0
Share

Chache cleaning worked ones.. but i just inactivates gameobjects to lower ram..

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

99 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 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 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 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 avatar image avatar image avatar image

Related Questions

Does Unity3D install any c++ redistributable? 0 Answers

,Assertion Failed error at launch. Assertion failed at expression "Succeeded.hr" 0 Answers

Do you know if MacOS big Sur can run Unity games because it isn't working for me? 0 Answers

Ways to evaluate a programming technique to solve a problem? Ex: GameObject visibility 0 Answers

CTR+Z suddenly stops working in unity editor 0 Answers


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