Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bullet] Turning debug on creates big amount of garbage #2174

Closed
Darkyenus opened this issue Jul 28, 2014 · 2 comments

Comments

@Darkyenus
Copy link
Contributor

@Darkyenus Darkyenus commented Jul 28, 2014

When turning DrawWireframe debug on, it seems to generate a lot of btVector3 probably somewhere in native code, I have been unable to track exact spot. But the result is that gc steps in every few seconds and causes very noticeable pause.

I have copied code from libgdx's bullet tests, so the problem should be replicable there.

@xoppa

This comment has been minimized.

Copy link
Member

@xoppa xoppa commented Jul 28, 2014

That's correct, that's how the bullet wrapper works. Debug drawing is only intended for debugging.

@Darkyenus

This comment has been minimized.

Copy link
Contributor Author

@Darkyenus Darkyenus commented Jul 28, 2014

Oh okay, I thought it could be 'fixed'. Never mind then I guess.

@xoppa xoppa mentioned this issue Jul 29, 2014
@xoppa xoppa closed this in 022392c Aug 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.