Skip to content

Conversation

andrewkaufman
Copy link
Member

Previously, setting IECORE_OBJECTPOOL_MEMORY = 2048 or larger would overflow the lexical cast, and you'd end up with 18446744071562067968

Previously, setting IECORE_OBJECTPOOL_MEMORY = 2048 or larger would overflow the lexical cast, and you'd end up with 18446744071562067968
@johnhaddon
Copy link
Member

The fix looks fine to me, but I'd assume that it's the multiply on the subsequent line that overflows rather than the lexical_cast?

@andrewkaufman
Copy link
Member Author

Yeah, you're right. My comment was unfair.

ldmoser added a commit that referenced this pull request May 26, 2014
Fixing default ObjectPool for larger sizes.
@ldmoser ldmoser merged commit 7535ab7 into ImageEngine:master May 26, 2014
@andrewkaufman andrewkaufman deleted the objectPoolMaxSize branch May 26, 2014 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants