The debugger starts very slowly, even can say in very Tormoz way

I've just got 3.0 and then 3.0.1
I'm running Dualcore 1.6G 1Gb Ram, WinXP

When I try to debug any application I see that "connecting to debugger using 10sec..." popup for at least 5 min. I can go smoking for that time, return and continue to develop with pleasure, which actually means observation of  that smal, fn annoying thing for say 2 min more.

Im completelly frustrated.

RM 2 -- wasn't debugging at all out of the box (needed to come here to ask advise)
RM 3 -- makes life to be useless waiting

Guys, is it so difficult to dedicate 3 PC in your offices (Win Lin & Mac) and TEST your soft before releasing it in public domain? Just format HDD, install the OS install clean RM and try to develop a little -- should you feel like you've been "developing with pain" instead of "...pleasure" -- #you've got the message? ))


lots of kind regards,
Yuriy



Attachment(s):
debugger is f-n tormoz ((((.JPG
7 comments
Comment actions Permalink

Hello Yuri,

Thanks a lot for the issue description, do we have any chance to have a look at your simple command line application? We've never faced with this particular problem.
What ruby/debug gems do you use?

Regards,
Oleg

0
Comment actions Permalink

1st -- I jast have installed 3.0.1-trial and I remember like it was updating gems or...
2nd -- debugger started very slow with any application, with "hello world" to
3rd -- MOST important! I dont know what I did ('coz tried everything!) -- now the debugger is lightspeed fast. So seems like there are something in settings or staf like that. I have no clue what exactly..

attached you will find gems list,
and 2 files with options


mmmm.... Im developing on my notebook, it never gets rebooted so it remembers RM 2.0.x 3.0 and 3.1 maybe problem has gone because of some reboots? (thanks to microsoft -- when it installs some updates it feels free to reboot the PC without takinig care if I do want this. No matter that one has opened a lot of soft with unsaved documents)))) ) So maybe the reason was -- plain reboot?? -- I have no answers


Anyways -- RM rock! -- just do something with memeory management (GC was and still is slow. Memory consumption is about 700MB for few opened editing panels /Rails application/)



Attachment(s):
list.zip
idea.properties.zip
rubymine.exe.vmoptions.zip
0
Comment actions Permalink

Hello yu ho,

Thanks for reporting this, sounds really weird, indeed we have problems with long debugger startup time on RubyMine's side, however it was fixed in RubyMine 3.0.1. Maybe you have installed RubyMine in the same folder and this caused some conflicts?

Anyways -- RM rock! -- just do something with memeory management (GC was and still is slow. Memory consumption is about 700MB for few opened editing panels /Rails application/)

Thanks for warm words, we have huge work with memory and CPU consumption scheduled for the RubyMine next major version.

Regards,
Oleg

0
Comment actions Permalink

disregard CPU = all is fine with that

MEMORY!

700 mb, 1GB, or even more.

All of sudden my PC begins swapping and at this moment I can went smoking comeback and wait even for a little more. Do your clean up in smaller portions, do not wait for a moment when you need to release 200mb+, clean up faster 1-2-3 mb or alike. Clean up while system is iddle (no keyboard or mouse activity). Please keep in mind that the first and most important impression of the system is it responsivness. If I try to scroll a list (project view or editor) and it just freezzes and makes me waiting for anything arround 1 sec .. few min, it is very dissapointing.


See the screenshot. I have just opened 2 projects Rails and Ruby console ("ViewMaker") from the beginning RM took about 850mb, showing about 15 tabs in Rails app and like 10 in ViewMaker app.
I have pressed right mouse on editor tab in Rails app going to choose "close all" -- my HDD started to swap and I waited about 1 min, then I returned to Rails (during that min I went to Skype, chatted, switched to Torrent, checked how my movies are getting downloaded, etc), so I have met the menu opened and have choosen "close all" switched to conolle app (the second RM window) and did the same.
????????????????
950MB!

Guys do something about, but do faster -- it is not fany nor even rediculous to close 25+- editor tabs and loose 60 mb of RAM (yeps! the virtual was about 460mb and become 500 and "Mem usage" was a little under 400MB and become 463). What do you keep in ram? I have closed the tabs, so RAM must be cleared at once. I would be somehow about to understand that virtual memory left intact (GC haven't worked yet etc) but ram must be definitelly releaced.

Nothing was freed, just swallowed another ~100mb ((((

upd: both projects had been idle -- no debugger running, nothing. Just opened, waited while it will do all that stuff with "indexing" etc, whatever it does at startup; and then just closed all tabs.



Attachment(s):
rm.JPG
0
Comment actions Permalink

Hello,

Thanks a lot for the concerns, you'd offered, find the answers below. Yep, we are aware that RubyMine is quick memory aggressive due to it's internal architecture, however it should work fine and quite snappy. Have you tried tweaking rubymine.vmoptions file in RubyMine bin installation folder with Java memory settings?

All of sudden my PC begins swapping and at this moment I can went smoking comeback and wait even for a little more. Do your clean up in smaller portions, do not wait for a moment when you need to release 200mb+, clean up faster 1-2-3 mb or alike. Clean up while system is iddle (no keyboard or mouse activity). Please keep in mind that the first and most important impression of the system is it responsivness. If I try to scroll a list (project view or editor) and it just freezzes and makes me waiting for anything arround 1 sec .. few min, it is very dissapointing.


See the screenshot. I have just opened 2 projects Rails and Ruby console ("ViewMaker") from the beginning RM took about 850mb, showing about 15 tabs in Rails app and like 10 in ViewMaker app.
I have pressed right mouse on editor tab in Rails app going to choose "close all" -- my HDD started to swap and I waited about 1 min, then I returned to Rails (during that min I went to Skype, chatted, switched to Torrent, checked how my movies are getting downloaded, etc), so I have met the menu opened and have choosen "close all" switched to conolle app (the second RM window) and did the same.

What are the size of your projects?

Guys do something about, but do faster -- it is not fany nor even rediculous to close 25+- editor tabs and loose 60 mb of RAM (yeps! the virtual was about 460mb and become 500 and "Mem usage" was a little under 400MB and become 463). What do you keep in ram? I have closed the tabs, so RAM must be cleared at once. I would be somehow about to understand that virtual memory left intact (GC haven't worked yet etc) but ram must be definitelly releaced.

Nothing was freed, just swallowed another ~100mb ((((

upd: both projects had been idle -- no debugger running, nothing. Just opened, waited while it will do all that stuff with "indexing" etc, whatever it does at startup; and then just closed all tabs.

RubyMine stores its internal indexes and other data structures in memory to make it possible to perform all the code analyzis checks on the fly. Most likely that you've faced with memory leak inside. Could you please help us and capture memory snapshot in order to handle it properly? Here are the instructions on capturing this kind of information: http://devnet.jetbrains.net/docs/DOC-1144

Looking forward for more information from you.

Regards,
Oleg

0
Comment actions Permalink

Currently I have __empty__, just created Rails 3.0.3 app and in another window I have this omniauth demo app (pretty small Rails 2.3.8) from here: git://github.com/madhums/omniauth-authlogic-demo.git
you can see last one online: http://omniauth-authlogic-demo.heroku.com/signin
-- no thousand line files. Just few controllers, few models, few gems few tabs in each window.

Memory: 1.1GB, see screenshot.

I've read stuff you gave me link to -- there is absolutelly no "extra disc activity" both c: and d: have been recently defragmented, no external processes modifiying project files, etc.

I just have added

-agentlib:yjpagent

to RUBYMINE_HOME/bin/rubymine.exe.vmoptions as advised, restarted both projects and I do not see any new buttons for "CPU/Mem snapshots", but anyway memory usage is now 330 ram+330 virt = 660 MB +-
upd: disregard,-- buttons now have appeared, next time memory usage will hit 1 GB I will send you report.

regards,
Yuriy



Attachment(s):
rm-2.JPG
0
Comment actions Permalink

Looking forward to hearing from you.

Regards,
Oleg

0

Please sign in to leave a comment.