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

RED run out of memory during debugging #23

Closed
michalanglart opened this issue Jun 10, 2016 · 15 comments
Closed

RED run out of memory during debugging #23

michalanglart opened this issue Jun 10, 2016 · 15 comments
Labels
Milestone

Comments

@michalanglart
Copy link
Collaborator

As described here: https://groups.google.com/forum/#!topic/robotframework-users/IjouWQJkv8A user run out of memory during debugging with red installed despite the fact that 2gb pool was allocated for jvm running the eclipse.

Settings:

  • elicpse luna 4.4
  • RED version ??
  • Xmx set to 2048m
@adam-wypych
Copy link
Contributor

adam-wypych commented Jun 10, 2016

Java version and OS?
Jython or Python?

@pbbos
Copy link

pbbos commented Jun 10, 2016

I'm using RED - Robot Editor version 0.6.4 0.6.4.201605051124
Suite Executor: Robot Framework 3.0 (Python 2.7.11 on win32)
Windows 7 Pro SP1 64 bit
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)

@adam-wypych
Copy link
Contributor

How huge project do you have - approximattely?

Is this issue reproduce when you are start test from RED without debug?

Can you add parameter to -vmargs: -XX:+HeapDumpOnOutOfMemoryError and put created dump to https://gist.github.com/pbbos ?

Thanks in advance.

@pbbos
Copy link

pbbos commented Jun 10, 2016

We have several projects, but the smallest is around 5mb and i get this error in all projects.

All tests run fine without debugmode.

I created a dump but its 1,62gb.. A bit too big to add to gist.

@adam-wypych
Copy link
Contributor

is possible to get this small project?

@adam-wypych
Copy link
Contributor

adam-wypych commented Jun 13, 2016

@pbbos if you can't attach this small project, can you answer simple question - do you use relative paths in *** Settings *** settings importing resources (Resource) and variables (Variables)?

Can You put in gist Your .log file located in the workspace?

@pbbos
Copy link

pbbos commented Jun 13, 2016

@adam-wypych i added the log in gist.

in the testsuite I have:
Resource ${CURDIR}${/}..${/}..${/}resources${/}keywords.robot

in variables.robot I have:
Resource ${CURDIR}${/}..${/}resources${/}${ENVIRONMENT}.robot

in keywords.robot I have:
Resource variables.robot

@adam-wypych
Copy link
Contributor

adam-wypych commented Jun 14, 2016

@pbbos so Your small project has only 3 files?

  1. what contains file ${CURDIR}${/}..${/}resources${/}${ENVIRONMENT}.robot ?

  2. how long it take for You to reproduce the problem?

  3. do You have any other parameters for JVM inside Your eclipse.ini?

  4. Can You provide list of installed plugins and features in Your eclipse?

@adam-wypych
Copy link
Contributor

adam-wypych commented Jun 21, 2016

@pbbos : in next release it should be fix for this issue, because I was not able fully to reproduce the issue with files mentioned by You, I will leave this issue still open for Your confirmation.

Anyway I found that probably Your test project is missing red.xml file since a lot of java.lang.NullPointerException occures. You can check this in Problems view in eclipse if You have information like FATAL: project configuration file red.xml does not exist, if yes then You can use Quick Fix (Ctrl + 1) to solve this issue.

@KrzysztofJozefowicz
Copy link
Contributor

Hi
Please try 0.6.5-pre release and report back if case is still present or not.

@adam-wypych
Copy link
Contributor

@pbbos sorry for interrupt You, but can You check with 0.6.5-pre if it works?

@pbbos
Copy link

pbbos commented Jun 27, 2016

Adam,

I'll be on holiday till the 29th.
Will check it out as soon as i'm home.

Thanks for the quick support.
Op 27 jun. 2016 08:07 schreef "adam-wypych" notifications@github.com:

@pbbos https://github.com/pbbos sorry for interrupt You, but can You
check with 0.6.5-pre if it works?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#23 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/AS76fa5BJIdfSf6vDQnswBXpzyFgIFDpks5qP2i6gaJpZM4IysyZ
.

@adam-wypych
Copy link
Contributor

@pbbos: Thanks, have a nice holiday :)

@pbbos
Copy link

pbbos commented Jul 3, 2016

@adam-wypych i just checked the 0.6.5-pre release and it works fine!

It isn't running out of memory anymore!!

Thanks for fixing!

@adam-wypych
Copy link
Contributor

@pbbos Thanks for update I will close this issue. If You have any other issues please feel free to create tickets :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants