Opening a Non-Project script when DataGrip is still loading a project causes the script window to disappear

Hi,

When I first open DataGrip, the project takes a while to load (I think because it's synchronizing itself with my data sources which are quite large). If I open a Non-Project script in this time, the script window will open, and then disappear. As if it had silently crashed. This will happen multiple times until everything has finished loading.

Thanks!

6 comments
Comment actions Permalink

Similarly when writing and running a query immediately after opening DataGrip, I get odd suggestions from the auto-complete window popping up.

Each time I just have to wait a minute or so before it starts to work again.

0
Comment actions Permalink

>If I open a Non-Project script in this time, the script window will open, and then disappear.

How do you open non-project file exactly? Is it possible to have a short screencast? Also, can you please post output from idea.log after issue happens?

>Similarly when writing and running a query immediately after opening DataGrip, I get odd suggestions from the auto-complete window popping up.

Has the schema Synchronization been completed when you start writing the code? Can you please describe what are those odd suggestions? Do you write the query in sql console or sql file?

0
Comment actions Permalink

Oddly enough, the first one I cannot repeat anymore. Maybe it was related to the fact that I had only just synchronized one of the largest databases I work with, and also the fact that I was getting memory issues as well (that I pointed out in another thread).

 

The second issue related to the auto-complete I can reproduce and it happens before the schema synchronization has completed.

0
Comment actions Permalink

Okay, I managed to capture the first issue. No idea what it is related to since it was working for a while before this happened.

I have uploaded the following files to show various issues.

 

In this one it had been open for a while, and it started crashing:

206502279-Opening-a-Non-Project-script-when-DataGrip-is-still-loading-a-project-causes-the-script-window-to-disappear.mp4

 

In this one I had just opened a file with apostrophe's in as a test, and then opene this file and it crashed (see the odd text in the window and see that the blank file it loaded crashed too):

206502279-Opening-a-Non-Project-script-when-DataGrip-is-still-loading-a-project-causes-the-script-window-to-disappear-2.mp4

 

Lastly, I have uploaded my entire "idea.log" file.

206502279-Opening-a-Non-Project-script-when-DataGrip-is-still-loading-a-project-causes-the-script-window-to-disappear-idea.log

 

Thanks.

0
Comment actions Permalink

Thank you for provided information! Regarding file name with apostrophe - looks similar to existing issue: https://youtrack.jetbrains.com/issue/IDEA-148474 . I've created separate problem for this issue, since log shows a bit different information. Feel free to vote and follow it for updates.

About completion issue - it is expected: while Schema was not synchronized only plain SQL keywords a available in completion list. Once schema is synchronized - it should be good.

About crashing problem: this could likely be related to the OutOfMemory errors you have. Try increasing Xmx valie in DataGrip .vmoptions file (Help | Edit Custom VM Options action). If it does not help, please capture memory snapshots for the investigation. Thank you.

0
Comment actions Permalink

The crashing should not be related to a memory issue, as the memory at that point in time is at it's lowest, and I have only just opened a file. Other times like I showed above, it was happening after the application had been open for a bit, and all synchronization should have stopped.

Either way, thank you for addressing these issues.

0

Please sign in to leave a comment.