Hello list,we do some heavy baking via arnold's render to texture in maya.Maya had the habit to run out of mem or hang so I'm now batching those bakes by running a new instance of maya each time using subprocess.popenI've noticed that it's just taking up just one core now though :/ .Is this a limitation of popen or something else I'm missing here?
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAMLepcbqjh9YTP%2Bk-doVhmsOwbM_43tOMSbLk-EnCXO9ajLoGw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Wed, Oct 4, 2017 at 10:31 PM Sebastian Schoellhammer <sschoellhammer.lists@gmail.com> wrote:Hello list,we do some heavy baking via arnold's render to texture in maya.Maya had the habit to run out of mem or hang so I'm now batching those bakes by running a new instance of maya each time using subprocess.popenI've noticed that it's just taking up just one core now though :/ .Is this a limitation of popen or something else I'm missing here?It likely won't be caused by Popen. That is just a standard fork and exec for a new process. It will likely be a factor of the command and its options for choosing how to thread.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAMLepcbqjh9YTP%2Bk-doVhmsOwbM_43tOMSbLk-EnCXO9ajLoGw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2_LwcWKG15RjZSg%2BTQun_YdWpcEw979AgWuoC3bKhBRA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Thanks!Mmmh that's sort of worrying. I checked the maya batch options but I didn't see anything there related to threads.Is this something that could be in the actual arnold command? I'll try check with them..
On Wed, Oct 4, 2017 at 11:39 AM, Justin Israel <justin...@gmail.com> wrote:
On Wed, Oct 4, 2017 at 10:31 PM Sebastian Schoellhammer <sschoellha...@gmail.com> wrote:Hello list,we do some heavy baking via arnold's render to texture in maya.Maya had the habit to run out of mem or hang so I'm now batching those bakes by running a new instance of maya each time using subprocess.popenI've noticed that it's just taking up just one core now though :/ .Is this a limitation of popen or something else I'm missing here?It likely won't be caused by Popen. That is just a standard fork and exec for a new process. It will likely be a factor of the command and its options for choosing how to thread.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAMLepcbqjh9YTP%2Bk-doVhmsOwbM_43tOMSbLk-EnCXO9ajLoGw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2_LwcWKG15RjZSg%2BTQun_YdWpcEw979AgWuoC3bKhBRA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Does anybody have by any chance a version of psutil that works with maya?