• 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
0
Question by Tomza · Oct 24, 2014 at 07:00 AM · memory-leak64-bitmemory usageplay-mode

Memory Leak in Play Mode

I use Unity 4.6 Beta for making my project. When I use it on Windows 7 32 bit (PC), I have no problems. But I need to work on my new laptop with Windows 8.1 64 bit, so I transferred the project (64 bit) there and I have a serious problem with memory. When I click Play, Unity slowly consumes more and more memory. It consumes almost 3 GB of memory ( I have 4 GB on my laptop). It lasts very long (an hour or more) to go into Play Mode. But it is happening only when I click Play for the first time, then it goes in Play Mode normally. When in Play Mode, the used memory is 500 MB memory only. It happens with all scenes in the project. My project is very big - about 80 GB.

I made an empty project and click Play. Unity goes into Play Mode quickly without problems. Is it possible that some of my assets makes t$$anonymous$$s problem. And maybe the Unity Beta? But I don't experience that on my Windows 7 where I use the same project and the same Unity.

After having transferred the project to my laptop, I rebuilt (reimported)the project three times - no improvements. No problem when Unity isn't in Play Mode.

I wish to know if somebody has such a problem.

My computer details:

OS Name Microsoft Windows 8.1

System Manufacturer ASUSTeK COMPUTER INC.

System Model X551MA

System Type x64-based PC

Processor Intel(R) Pentium(R) CPU N3520 @ 2.16GHz, 2159 Mhz, 4 Core(s), 4 Logical Processor(s)

Name Intel(R) HD Grap$$anonymous$$cs

Comment
Add comment · Show 18
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 Baste · Oct 24, 2014 at 08:35 AM 0
Share
avatar image Tomza · Oct 24, 2014 at 09:48 AM 0
Share
avatar image Tomza · Oct 24, 2014 at 10:16 AM 0
Share
avatar image Baste · Oct 24, 2014 at 01:14 PM 0
Share
avatar image KayelGee · Oct 24, 2014 at 01:15 PM 1
Share
Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Asthegor · Oct 25, 2014 at 06:39 AM

The first t$$anonymous$$ng to do is : remove all resources useless !!! Like materials, textures, sounds, ...

Another t$$anonymous$$ng : if you use the OnGui function, move all coord calc to the Start function for static buttons/labels/etc...

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 Tomza · Oct 25, 2014 at 06:52 AM 0
Share

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

29 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

Related Questions

Different memory usage from pc profiler and android profiler - Memory leak 0 Answers

Unity Editor Memory Leak 4 Answers

Is this memory usage too much for a mobile game? 1 Answer

iOS crash problem: Received memory warning . How to solve that? 1 Answer

Question About Camera's, Canvases and Memory 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