#18766- OutOfMemberyError in lexing file

Can anyone at the Jetbrains-Team tell me, why the Bug #18766 is still unsolved? This ugly OutOfMemoryException occurs 3 - 4 times a day, when working with the designer even more. After this Exception i always need to restart my VS2003, so it's quite hard to work with it.
My Computer has 2.5 GB RAM, so there's surely no real Memory-Problem. I'm always working with the latest release of Resharper (current Build 253). The solution i'm working on is realy big: More then 60 projects, lot of GUI-Stuff and even a punch of generated DataSets.

12 comments
Comment actions Permalink

and still no answer or comment from jetbrains about this really ugly bug....

0
Comment actions Permalink

This exception occurs when you are working on some specific file, or it
appears randomly?

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Stefan Urech" <no_reply@jetbrains.com> wrote in message
news:21648993.1152085176330.JavaMail.itn@is.intellij.net...

and still no answer or comment from jetbrains about this really ugly
bug....



0
Comment actions Permalink

In the Bugreport #18766, Ben Robbins describes the problem very good:

It's pretty easy to get this to occur. You want a largish solution (our is 37 projects), with some very large files (we have about 10 files that are > 10k LOC).

You then run the application through the debugger. The next time you try and build the app you will probably run out of memory. You can just edit and work away and it will eventually happen, but I've found that using the "build and debug" button (the one that looks like a play icon in the toolbar) you can reliably get this assertion the next time you build.


As already written in my initial post, it happens 3 to 4 times a day. The File i'm working on is irrelevant, also the project.
In the Bugreport are A LOT of duplicates registered, so this seems to be general problem.

Message was edited by:
Stefan Urech

0
Comment actions Permalink

I would love an answer to this one as well. These OutOfMemoryExpections
happen at least 3-4 times per day for me. If I am using the designer
heavily then it happens much more frequently.

- Nate



Stefan Urech wrote:

Can anyone at the Jetbrains-Team tell me, why the Bug #18766 is still unsolved? This ugly OutOfMemoryException occurs 3 - 4 times a day, when working with the designer even more. After this Exception i always need to restart my VS2003, so it's quite hard to work with it.
My Computer has 2.5 GB RAM, so there's surely no real Memory-Problem. I'm always working with the latest release of Resharper (current Build 253). The solution i'm working on is realy big: More then 60 projects, lot of GUI-Stuff and even a punch of generated DataSets.

0
Comment actions Permalink

Ignorance is not always bliss, especially when you're the one who's ignored...

Anyway, any News about this problem?

0
Comment actions Permalink

Currently, there is no news :(
The main problem that we can't reproduce this problem in a stable way to
investigate what happens :( - the stack traces posted to us gives no
information since the point where the system runs out of memory is far away
from point which actually eats nearly all memory

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Stefan Urech" <no_reply@jetbrains.com> wrote in message
news:14554935.1152684935767.JavaMail.javamailuser@localhost...

Ignorance is not always bliss, especially when you're the one who's
ignored...

>

Anyway, any News about this problem?



0
Comment actions Permalink

It seems to happen when working with realy big solutions. With "normal" solutions, i've never any problems. Unfortunately i'm unable to send you our solution because of different dependencies with other projects and the copyright...
Maybe you find in the internet a big opensource-project or try to generate a huge solution by yourself (random code generator...).
If there's any possibility to help you solve this problem, i will try my best!

0
Comment actions Permalink

How big is your solution?
ReSharper itself has about 5000 source files, and the total amount is about
30mb of source code - and we do not observe this problem

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Stefan Urech" <no_reply@jetbrains.com> wrote in message
news:30989383.1152697361931.JavaMail.javamailuser@localhost...

It seems to happen when working with realy big solutions. With "normal"
solutions, i've never any problems. Unfortunately i'm unable to send you
our solution because of different dependencies with other projects and the
copyright...
Maybe you find in the internet a big opensource-project or try to generate
a huge solution by yourself (random code generator...).
If there's any possibility to help you solve this problem, i will try my
best!



0
Comment actions Permalink

Let's see, we have:
- 66 Projects
- 1472 *.cs-Files (some of them are quite big, ~10'000 Lines)
- All *.cs-Files together: 28.3 MB
- 60 DataSets (*.xsd)
Maybe the big files are the problem, who knows...

0
Comment actions Permalink

I have far fewer projects but about the same number of code files.
- 7 Projects
- ~1500 *.cs files, nearly all files are less than 6K lines

I have noticed that I experience this problem significantly more when
I am working in the designer. I have often wondered if the problem was
related to our multiple levels of inheritance.

Our project is spilt into three main sections, Data Access Layer, Object
Layer and Presentation Layer. The classes in the DAL are typically not
subclassed. Everything in the OL consists of a base class
(auto-generated code) and a derived class (custom code). In our
presentation layer we have a BaseControl and BaseForm from which all
other controls and forms are derived. In many cases the inheritance
level for these controls goes 2-4 levels deeper.

- Nate


Stefan Urech wrote:

Let's see, we have:
- 66 Projects
- 1472 *.cs-Files (some of them are quite big, ~10'000 Lines)
- All *.cs-Files together: 28.3 MB
- 60 DataSets (*.xsd)
Maybe the big files are the problem, who knows...

0
Comment actions Permalink

This week, we've migrated our solution to .Net 2.0. Unfortunately, this OutOfMemoryError also occurs in VS2005 with the newest Resharper-Build 257.
We have one quite big file, which contains the Main-Method and a lot of GUI-Stuff. When I open this file, in 9 of 10 times Resharper throws the OutOfMemory-Exception. I've attached the file to this post, maybe this will help you...



Attachment(s):
Mainform.cs
0
Comment actions Permalink

Still the same problem with Build #258. This Build is labeled as "RC 1", but it's hard to believe that you will release a new Version of Resharper without solving this bug.
http://www.jetbrains.net/jira/browse/RSRP-18766 shows many duplicates, so i'm for sure not the only one with this problem.
I love to think back to the time, where i was working with Resharper 1.* without a single crash during the whole day...

@all: is there anyone with the same problem, who could send his solution to Jetbrains?

0

Please sign in to leave a comment.