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

StackOverflowError #281

Open
sakuraemiya opened this issue Jan 4, 2024 · 5 comments
Open

StackOverflowError #281

sakuraemiya opened this issue Jan 4, 2024 · 5 comments

Comments

@sakuraemiya
Copy link

我在dao层调用自定义的ngql,在调用次数过多的时候会报错java.lang.StackOverflowError: null,但是我在调用NebulaDaoBasic中内置的方法就不会出现这个问题,有什么解决的方法嘛

@CorvusYe
Copy link
Collaborator

CorvusYe commented Jan 4, 2024

-Xss2m
可以试试这个JVM启动参数

@sakuraemiya
Copy link
Author

-Xss2m 可以试试这个JVM启动参数

好,请问是什么原因导致的这个问题

@CorvusYe
Copy link
Collaborator

CorvusYe commented Jan 4, 2024

模板引擎中会构建AST递归过深了

@sakuraemiya
Copy link
Author

模板引擎中会构建AST递归过深了

除了设置栈空间 还有其他解决方法嘛

@CorvusYe
Copy link
Collaborator

CorvusYe commented Jan 4, 2024

目前还没有找到更好的方式😂

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