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

src/terralib.lua:4034: error loading terra module ad from file ../Opt/API/src/ad.t: not enough memory #149

Open
LiuXinqi12 opened this issue May 14, 2019 · 1 comment

Comments

@LiuXinqi12
Copy link

LiuXinqi12 commented May 14, 2019

I use opt to optimize the process of 3d reconstruction on ubuntu16 and cuda 8. When I run it until the frame of 18th , the program crash and errors occur:
src/terralib.lua:4034: error loading terra module ad from file ../Opt/API/src/ad.t:
not enough memory
My computer uses only 50% of its memory. so i though the problem is not enough memory. i don't know how to solve this problem , I guess this problem may caused by memory leak, but I didn't find any objects that need to be released . So I want to ask you for advice . Thank you!

@LiuXinqi12 LiuXinqi12 changed the title src/terralib.lua:4034: error loading terra module ad from file /home/liuxinqi/study/dynamicfusion-master/deps/Opt/API/src/ad.t: not enough memory src/terralib.lua:4034: error loading terra module ad from file ../Opt/API/src/ad.t: not enough memory May 14, 2019
@Mx7f
Copy link
Collaborator

Mx7f commented Jun 18, 2019

That does seem like a memory leak. Are you creating and destroying an Opt problem every frame? Is there a reason you cannot just reuse one for each frame?

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

No branches or pull requests

2 participants