Build 20: OutOfMemoryException editing Site.Master

I just posted a series of exceptions from ReSharper build 20 in which I
attempted to edit Site.Master in a very small ASP.NET MVC 3 project to use
the XHTML doctype. When I initially modified Site.Master, memory usage of
devenv.exe skyrocketed from 699MB to over 2GB and stayed there while Visual
Studio 2010 was completely unresponsive. In the interim, ReSharper was
throwing OutOfMemoryException and other exceptions. After a few minutes,
memory usage dropped back to 699MB. I could also reproduce this behavior by
highlighting the text I had just entered in Site.Master and pressing the DEL
key.

I tried to get a snapshot following the instructions, but nmpcore reports
"The operation failed with the following error: Attached process '12920' has
concurrent GC enabled" and won't take a snapshot.

4 comments
Comment actions Permalink

I managed to get a performance snapshot with dotTrace Performance that will
hopefully reveal what's going on. What I've discovered is that all I need to
do is type a double quote into the DOCTYPE element to reproduce the issue.
When I do this, Visual Studio becomes unresponsive and memory continually
climbs until it reaches 2.6GB and ReSharper throws an OutOfMemoryException.
The performance snapshot is uploading to the FTP server as
ChangeDocType.dtp.

"Greg Law"  wrote in message
news:jbe4tt$jv9$1@nntp-server.labs.intellij.net...

I just posted a series of exceptions from ReSharper build 20 in which I
attempted to edit Site.Master in a very small ASP.NET MVC 3 project to use
the XHTML doctype. When I initially modified Site.Master, memory usage of
devenv.exe skyrocketed from 699MB to over 2GB and stayed there while Visual
Studio 2010 was completely unresponsive. In the interim, ReSharper was
throwing OutOfMemoryException and other exceptions. After a few minutes,
memory usage dropped back to 699MB. I could also reproduce this behavior by
highlighting the text I had just entered in Site.Master and pressing the DEL
key.

I tried to get a snapshot following the instructions, but nmpcore reports
"The operation failed with the following error: Attached process '12920' has
concurrent GC enabled" and won't take a snapshot.

0
Comment actions Permalink

Hello Greg
     Is it possible for you to provide a sample solution demonstrating this problem? Thank you!

Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0
Comment actions Permalink

This should be very easy to reproduce.

1. Run Visual Studio 2010
2. Create a new ASP.NET MVC 3 project
3. Open Site.Master in Views/Shared/Site.Master
4. Find the <!DOCTYPE html> line at the top of the master file
5. Put the cursor just after html and just before >.
6. Type a space and an open double quote (").
7. Watch ReSharper gobble memory like crazy until it finally throws
OutOfMemoryException
8. When Visual Studio responds again, type a second double quote (")
9. Repeat Step 8 and Visual Studio 2010 goes out to lunch for a few minutes

Once you've reached this point, you can Ctrl+Z to undo but it seems
ReSharper's internal state may be trashed.

"Andrey Serebryansky"  wrote in message
news:15296685.871323075084895.JavaMail.devnet@confluence.jetbrains.net...

Hello Greg
     Is it possible for you to provide a sample solution demonstrating this
problem? Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

---
Original message URL: http://devnet.jetbrains.net/message/5445357#5445357

0
Comment actions Permalink

Hello Greg
     Thank you very much for the repro steps! We'll fix this problem ASAP. You can track the progress here: http://youtrack.jetbrains.net/issue/RSRP-285689.

Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0

Please sign in to leave a comment.