MemoryError: std::bad_alloc
johnnytam100 opened this issue · comments
Same problem here. I couldn't not find any reason till now. Error also happens randomly for me, do you have the same problem?
This issue has been automatically marked as stale because it has not had recent activity. The resources of the VCLab team are limited, and so we are asking for your help. If this is a bug and you can still reproduce this error on the last release of PyMeshLab, please reply with all of the information you have about it in order to keep the issue open. If this is a feature request, and you feel that it is still relevant and valuable, please tell us why. This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.
Could you please share the file and your system setup?
I think it should be reproducible with any set of meshes with a large enough size. I moved on from this error by using a lock file around load_new_mesh(). My current hypothesis is that the error is caused by the change of the QDir path here.
My current hypothesis is that the error is caused by the change of the QDir path here.
It seems unlikely to me. The change of the path would lead to a file not found exception, and not to a std::bad_alloc.
Anyway, I need to reproduce the issue in order to investigate it, and right now I can't.