svent / jsdetox

A Javascript malware analysis tool
https://svent.dev/projects/jsdetox/
591 stars 79 forks source link

Stack limit exceeded #26

Open Lee0002 opened 6 years ago

Lee0002 commented 6 years ago

Hello,

I'm getting the following error.

I setup a VM with ubuntu 16.04.2 U, with 1 GB memory and 20 GB HDD.

I installed the JSDtox on the host and access the web interface.

I receive the following error in specific cases when submitting a large / medium JS code.

Error: Stack limit exceeded. Please try to adjust the stack limit 'ulimit -s' (Ruby 1.8/1.9) OR export RUBY_THREAD_VM_STACK_SIZE (Ruby<=2.0)

I have followed some articles to change the NOFILE size and the machine crashed.

Can someone help me with better practice (guides) for solving this issue ?

Lee,

BR,