Changing Memory amount for MSDEV (2003) ?


Hi,

I'm using Resharper EAP 213 and I get OutOfMemory exceptions from time
to time. The solution is quite big and it seems to run out of memory in some
cases. Does anybody know how to change the max memory setting for msdev ?

Sincerely,
ToMiC


7 comments
Comment actions Permalink

Hello Toader,

there is no way to do that - a managed (or mixed, like devenv.exe) process
has no limit on the amount of memory it can
use. The only thing you can do is to add memory to your machine, if you have
less than 2 Gb of physical
memory. But actually we expect significant improvements in memory usage in
the nearest builds, so please
try it when it is available.


Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hi,

I'm using Resharper EAP 213 and I get OutOfMemory exceptions from
time to time. The solution is quite big and it seems to run out of
memory in some cases. Does anybody know how to change the max memory
setting for msdev ?

Sincerely,
ToMiC



0
Comment actions Permalink

Hello Dmitry,

Yea.. in the end I found out that this seems to be the way (this is different
from Java :) ).
However what made me to post that is a reproducible "deadlock" of the IDE
when launching R# Test Runner in my project
(this is both in 213 and 214). The OutOfMemory was found while looking in
the R# log files and might be unrelated to this.
Once i start the Test Runner the whole IDE seems to lock and the only way
to use it again
to kill it and restart it. What can/should I do in order for you to be able
to fix/debug this ?

Sincerely,
ToMiC

Hello Toader,

there is no way to do that - a managed (or mixed, like devenv.exe)
process
has no limit on the amount of memory it can
use. The only thing you can do is to add memory to your machine, if
you have
less than 2 Gb of physical
memory. But actually we expect significant improvements in memory
usage in
the nearest builds, so please
try it when it is available.
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>> Hi,
>>
>> I'm using Resharper EAP 213 and I get OutOfMemory exceptions from
>> time to time. The solution is quite big and it seems to run out of
>> memory in some cases. Does anybody know how to change the max memory
>> setting for msdev ?
>>
>> Sincerely,
>> ToMiC


0
Comment actions Permalink

Hello Toader,

we heard similar reports, but still have no way to repeat the problem. Does
it happen
every time you're trying to launch the Test Runner? And could you please
try to attach
a debugger to the hung devenv.exe and capture stack traces of threads?

Thanks in advance.


Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hello Dmitry,

Yea.. in the end I found out that this seems to be the way (this is
different
from Java :) ).
However what made me to post that is a reproducible "deadlock" of the
IDE
when launching R# Test Runner in my project
(this is both in 213 and 214). The OutOfMemory was found while looking
in
the R# log files and might be unrelated to this.
Once i start the Test Runner the whole IDE seems to lock and the only
way
to use it again
to kill it and restart it. What can/should I do in order for you to be
able
to fix/debug this ?
Sincerely,
ToMiC

>> Hello Toader,
>>
>> there is no way to do that - a managed (or mixed, like devenv.exe)
>> process
>> has no limit on the amount of memory it can
>> use. The only thing you can do is to add memory to your machine, if
>> you have
>> less than 2 Gb of physical
>> memory. But actually we expect significant improvements in memory
>> usage in
>> the nearest builds, so please
>> try it when it is available.
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> Hi,
>>>
>>> I'm using Resharper EAP 213 and I get OutOfMemory exceptions from
>>> time to time. The solution is quite big and it seems to run out of
>>> memory in some cases. Does anybody know how to change the max memory
>>> setting for msdev ?
>>>
>>> Sincerely,
>>> ToMiC


0
Comment actions Permalink

Hello Dmitry,

I just tested the latest 215 and i can run the tests now using the test runner.

This was not possible at all with 213, 214 builds. It happened every time i
launched the test runner.

Sincerely,
ToMiC

Hello Toader,

we heard similar reports, but still have no way to repeat the problem.
Does
it happen
every time you're trying to launch the Test Runner? And could you
please
try to attach
a debugger to the hung devenv.exe and capture stack traces of threads?
Thanks in advance.

Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>> Hello Dmitry,
>>
>> Yea.. in the end I found out that this seems to be the way (this is
>> different
>> from Java :) ).
>> However what made me to post that is a reproducible "deadlock" of the
>> IDE
>> when launching R# Test Runner in my project
>> (this is both in 213 and 214). The OutOfMemory was found while
>> looking
>> in
>> the R# log files and might be unrelated to this.
>> Once i start the Test Runner the whole IDE seems to lock and the only
>> way
>> to use it again
>> to kill it and restart it. What can/should I do in order for you to
>> be
>> able
>> to fix/debug this ?
>> Sincerely,
>> ToMiC
>>> Hello Toader,
>>>
>>> there is no way to do that - a managed (or mixed, like devenv.exe)
>>> process
>>> has no limit on the amount of memory it can
>>> use. The only thing you can do is to add memory to your machine, if
>>> you have
>>> less than 2 Gb of physical
>>> memory. But actually we expect significant improvements in memory
>>> usage in
>>> the nearest builds, so please
>>> try it when it is available.
>>> Regards,
>>> Dmitry Shaporenkov
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
>>>> Hi,
>>>>
>>>> I'm using Resharper EAP 213 and I get OutOfMemory exceptions from
>>>> time to time. The solution is quite big and it seems to run out of
>>>> memory in some cases. Does anybody know how to change the max
>>>> memory setting for msdev ?
>>>>
>>>> Sincerely,
>>>> ToMiC


0
Comment actions Permalink

Hello Toader,

Actually it still locks in some cases. How to attach a debugger ? (I tried
to start a second copy of MSDEV but it wouldn't start).


Sincerely,
ToMiC

Hello Dmitry,

I just tested the latest 215 and i can run the tests now using the
test runner.

This was not possible at all with 213, 214 builds. It happened every
time i launched the test runner.

Sincerely,
ToMiC

>> Hello Toader,
>>
>> we heard similar reports, but still have no way to repeat the
>> problem.
>> Does
>> it happen
>> every time you're trying to launch the Test Runner? And could you
>> please
>> try to attach
>> a debugger to the hung devenv.exe and capture stack traces of
>> threads?
>> Thanks in advance.
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> Hello Dmitry,
>>>
>>> Yea.. in the end I found out that this seems to be the way (this is
>>> different
>>> from Java :) ).
>>> However what made me to post that is a reproducible "deadlock" of
>>> the
>>> IDE
>>> when launching R# Test Runner in my project
>>> (this is both in 213 and 214). The OutOfMemory was found while
>>> looking
>>> in
>>> the R# log files and might be unrelated to this.
>>> Once i start the Test Runner the whole IDE seems to lock and the
>>> only
>>> way
>>> to use it again
>>> to kill it and restart it. What can/should I do in order for you to
>>> be
>>> able
>>> to fix/debug this ?
>>> Sincerely,
>>> ToMiC
>>>> Hello Toader,
>>>>
>>>> there is no way to do that - a managed (or mixed, like devenv.exe)
>>>> process
>>>> has no limit on the amount of memory it can
>>>> use. The only thing you can do is to add memory to your machine, if
>>>> you have
>>>> less than 2 Gb of physical
>>>> memory. But actually we expect significant improvements in memory
>>>> usage in
>>>> the nearest builds, so please
>>>> try it when it is available.
>>>> Regards,
>>>> Dmitry Shaporenkov
>>>> JetBrains, Inc
>>>> http://www.jetbrains.com
>>>> "Develop with pleasure!"
>>>>> Hi,
>>>>>
>>>>> I'm using Resharper EAP 213 and I get OutOfMemory exceptions from
>>>>> time to time. The solution is quite big and it seems to run out of
>>>>> memory in some cases. Does anybody know how to change the max
>>>>> memory setting for msdev ?
>>>>>
>>>>> Sincerely,
>>>>> ToMiC


0
Comment actions Permalink

Hello Toader,

you can run the second instance of VS and attach it as a debugger. I have
no idea
why this doesn't work for you. In any case, you most likely have the .NET
GUI debugger
(the DbgClr.exe) located under the .NET framework SDK installation directory
- this tool
is no less suitable in this case than the VS. The simplest way is actually
to select 'Debug'
menu in the Task Manager, and you'll be suggested a list of available debuggers.



Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hello Toader,

Actually it still locks in some cases. How to attach a debugger ? (I
tried to start a second copy of MSDEV but it wouldn't start).

Sincerely,
ToMiC

>> Hello Dmitry,
>>
>> I just tested the latest 215 and i can run the tests now using the
>> test runner.
>>
>> This was not possible at all with 213, 214 builds. It happened every
>> time i launched the test runner.
>>
>> Sincerely,
>> ToMiC
>>> Hello Toader,
>>>
>>> we heard similar reports, but still have no way to repeat the
>>> problem.
>>> Does
>>> it happen
>>> every time you're trying to launch the Test Runner? And could you
>>> please
>>> try to attach
>>> a debugger to the hung devenv.exe and capture stack traces of
>>> threads?
>>> Thanks in advance.
>>> Regards,
>>> Dmitry Shaporenkov
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
>>>> Hello Dmitry,
>>>>
>>>> Yea.. in the end I found out that this seems to be the way (this is
>>>> different
>>>> from Java :) ).
>>>> However what made me to post that is a reproducible "deadlock" of
>>>> the
>>>> IDE
>>>> when launching R# Test Runner in my project
>>>> (this is both in 213 and 214). The OutOfMemory was found while
>>>> looking
>>>> in
>>>> the R# log files and might be unrelated to this.
>>>> Once i start the Test Runner the whole IDE seems to lock and the
>>>> only
>>>> way
>>>> to use it again
>>>> to kill it and restart it. What can/should I do in order for you to
>>>> be
>>>> able
>>>> to fix/debug this ?
>>>> Sincerely,
>>>> ToMiC
>>>>> Hello Toader,
>>>>>
>>>>> there is no way to do that - a managed (or mixed, like devenv.exe)
>>>>> process
>>>>> has no limit on the amount of memory it can
>>>>> use. The only thing you can do is to add memory to your machine,
>>>>> if
>>>>> you have
>>>>> less than 2 Gb of physical
>>>>> memory. But actually we expect significant improvements in memory
>>>>> usage in
>>>>> the nearest builds, so please
>>>>> try it when it is available.
>>>>> Regards,
>>>>> Dmitry Shaporenkov
>>>>> JetBrains, Inc
>>>>> http://www.jetbrains.com
>>>>> "Develop with pleasure!"
>>>>>> Hi,
>>>>>>
>>>>>> I'm using Resharper EAP 213 and I get OutOfMemory exceptions from
>>>>>> time to time. The solution is quite big and it seems to run out
>>>>>> of memory in some cases. Does anybody know how to change the max
>>>>>> memory setting for msdev ?
>>>>>>
>>>>>> Sincerely,
>>>>>> ToMiC


0
Comment actions Permalink

I'm running 215 on a laptop w/ 2G ram and a large solution with several projects (and all of syncfusion libraries). If I have to quit out of vs.net every time I switch to another solution to avoid out of memory exceptions. They don't happen right away, but generally do happen when I've been using it for several hours and am in the middle of typing stuff.

There obviously continue to be some memory leaks in R#.

- Gyuri

0

Please sign in to leave a comment.