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
0
Question by sdgd · Mar 29, 2013 at 05:50 PM · gpucpuramhdd

how to restrict program to certain % of CPU / RAM?

ok I would like to test my program but with restrictions so I would know how would it behave on a very bad machine.

why - because I'm doing a mini game for someone and her PC is in pretty bad shape so I'd like to see how much optimization I have to do for it and so on.

I know I could look in to machine and look my total CPU/RAM usage but I want to restrict it to only use let say max 10% and same for RAM (that after 10% it would start to write on HDD). as normal behaviour, ... BUT I won't see slow FPS, ...., ...

if possible to restrict it to not to write to HDD at all would be even better.

Comment
Add comment · Show 2
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 MountDoomTeam · Mar 29, 2013 at 06:08 PM 0
Share

You can change the priority of unity in Windows task manager, left click on task and set low priority

avatar image sdgd · Mar 30, 2013 at 12:14 PM 0
Share

yes I know that way what about with unity

  • that way does not restrict it BUT if I give to lowest and IF i have free CPU it'll use it so it does not count

and OFC restricting RA$$anonymous$$ too to 256 $$anonymous$$Bit

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Julien-Lynge · Aug 16, 2013 at 07:53 PM

This doesn't appear to be Unity specific, it's an OS question. You want the OS externally to limit Unity in a way that it appears to Unity it's running on a less powerful machine.

I suggest a basic Google search, which returns things like this (for Windows):

http://stackoverflow.com/questions/192876/set-windows-process-or-user-memory-limit

If you were hoping to do this in Unity, there is simply no way to limit things like RAM usage. You could do it for your own objects that you create in code, but unless you have a source code license for Unity (and if you're asking here, you don't), you can't control the inner workings of the Unity engine.

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

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

12 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

Related Questions

What GPU, CPU for Unity? 2 Answers

Qualcomm Snapdragon 200 Vs Broadcom BCM 21664 0 Answers

Android app doesn't use GPU. Why? 0 Answers

PhysX CPU consuption, rather then GPU 1 Answer

Gaming PC performance 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