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 /
avatar image
3
Question by AndyFront · Jul 08, 2018 at 07:33 AM · profilermemory managementmemory leak

PathNameManager and BaseObjectManager filling memory in Profiler

So I'm developing a game that is supposed to run 24/7. I improved my code as much as possible to not cause memory leaks, but when I check the profiler after a day, PathNameManager and BaseObjectManager keep filling up the memory slowly. There's no information out there what those two managers do and how I could prevent this. There's already posts about this, but all unanswered. What are BaseObjectManager and PathNameManager in Profiler? and how to prevent memory leak?

Thanks for answers!

Edit 1: So I figured out that this issue was reproducible in every version going as low as 2017.3. Using 2017.2.3f1, it works like expected. Don't know what they implemented after that version... Keep you updated as soon as I find out more.

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by hba_infinity · Jul 11, 2018 at 06:30 AM

I can confirm that we are getting this problem as well. As mentioned above, it looks like it has been introduced in 2017.3/4, as we upgraded from 2017.2.1p2 to 2017.4.1f1. Our players are encountering this issue sooner than we would like (on Console, PC and Mobile), and is amplified by the fact that we are using 32-bit builds.

Other posts on the forums have suggested that this is due to objects being created and destroyed. Any help with this problem would be appreciated.

Comment
Add comment · 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
0

Answer by tEFFx · Nov 01, 2018 at 01:43 PM

I'm also trying to have an instance running 24/7 and I seem to have the same problem. The target is a VPS instance with 512Mb ram and the process seems to be terminated after around 24h or so. It seems like objects aren't properly cleaned up or something since the memory growth increases when more objects are spawned and then unloaded after a scene change. I'm using 2018.1.1 by the way.

Any new ideas on this?

Comment
Add comment · Show 2 · 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 hba_infinity · Nov 01, 2018 at 09:25 PM 1
Share

From what I can tell, this bug seems to be fixed in 2017.4.9f1 or later, not sure on the exact version it correlates to on the 2018.x series. Possibly update to the latest version/patch on your version (e.g. 2018.1.x) to see if it is fixed in that version.

avatar image tEFFx hba_infinity · Nov 02, 2018 at 11:31 AM 0
Share

I went ahead and skipped to 2018.2.14 yesterday since there were some features that I needed anyway, and this seemed like a perfect opportunity to upgrade. I've been running a build overnight on the target VPS and memory usage looks stable so far.

Thanks for your input!

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

88 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

Related Questions

Cannot find profiler tool to show GC object types 0 Answers

Unity iOS Not Returning Pages 0 Answers

Shader.Parse overhead 0 Answers

Is this generalized Destroy function safe to use? 0 Answers

Questions for ram memory management in unity 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