Low Memory


Very often VS crashes with low memory error, it becomes only when I use
Resharper 2.0 any build.
I use resharper on large project and after 20-30 builds it crashes


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

6 comments
Comment actions Permalink

Hello,

please tell us how large is your project in terms of number of source files,
line of code etc.
What memory usage do you see in Task Manager (columns Mem Usage and VM Size)
and
in the VS status bar (when ReSharper's 'Show memory usage' option is enabled)?


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

Very often VS crashes with low memory error, it becomes only when I
use

Resharper 2.0 any build.
I use resharper on large project and after 20-30 builds it crashes



0
Comment actions Permalink

On Fri, 05 Aug 2005 15:59:37 +0300, Dmitry Shaporenkov
<dsha@jetbrains.com> wrote:

Hello,

>

please tell us how large is your project in terms of number of source
files, line of code etc.
What memory usage do you see in Task Manager (columns Mem Usage and VM
Size) and in the VS status bar (when ReSharper's 'Show memory usage'
option is enabled)?

>
>

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

>
>> Very often VS crashes with low memory error, it becomes only when I
>> use
>> Resharper 2.0 any build.
>> I use resharper on large project and after 20-30 builds it crashes
>
>

Ok, waiting crash

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

0
Comment actions Permalink

On Fri, 05 Aug 2005 15:59:37 +0300, Dmitry Shaporenkov
<dsha@jetbrains.com> wrote:

Hello,

>

please tell us how large is your project in terms of number of source
files, line of code etc.
What memory usage do you see in Task Manager (columns Mem Usage and VM
Size) and in the VS status bar (when ReSharper's 'Show memory usage'
option is enabled)?

>
>

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

>
>> Very often VS crashes with low memory error, it becomes only when I
>> use
>> Resharper 2.0 any build.
>> I use resharper on large project and after 20-30 builds it crashes
>
>

this happens again
project has more than 200 files
System has 512 Mb total and at this time 150 Mb free
devenv.exe Mem Usage 53Mb VM Size 380 Mb
Resharper Memory Usage 44Mb

I started build and buiuld fails on transformation resx file with error
Out of memory


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

0
Comment actions Permalink

airex.s@gmail.com wrote:

On Fri, 05 Aug 2005 15:59:37 +0300, Dmitry Shaporenkov
<dsha@jetbrains.com> wrote:

>> Hello,
>>
>> please tell us how large is your project in terms of number of source
>> files, line of code etc.
>> What memory usage do you see in Task Manager (columns Mem Usage and
>> VM Size) and in the VS status bar (when ReSharper's 'Show memory
>> usage' option is enabled)?
>>
>>
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>
>>> Very often VS crashes with low memory error, it becomes only when I
>>> use
>>> Resharper 2.0 any build.
>>> I use resharper on large project and after 20-30 builds it crashes
>>
>>
>>


this happens again
project has more than 200 files
System has 512 Mb total and at this time 150 Mb free
devenv.exe Mem Usage 53Mb VM Size 380 Mb
Resharper Memory Usage 44Mb

I started build and buiuld fails on transformation resx file with error
Out of memory

The cause of the problem mabe in Visual Studio itself. I'm working on a midsize project with around 7.000 classes. The developer
machines have 1GB memory and R# works fine. Starting VS.NET is a little bit slow but thats ok for the mass of files R# has to
investigate. Nevertheless at some point we couldn't compile our solution anymore because we got an out-of-memory error. We opened a
support request at microsoft and they found a problem in the memory management compile process. VS reserves memory on compile and
don't release it until end of the compile process. The memory can be so fragmented that VS can't reserve enough memory. In this case
an error message like "couldn't write file xxx, not enough memory" will be schown. We got an hotfix for this (KB86770). But you have
to contact Microsoft support to get it.

Regards
Klaus

0
Comment actions Permalink

Hello Luedi,

perhaps you're right, since ReSharper does not currently do anything when
build in VS happens.
Thank you for this information.


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

airex.s@gmail.com wrote:

>> On Fri, 05 Aug 2005 15:59:37 +0300, Dmitry Shaporenkov
>> <dsha@jetbrains.com> wrote:
>>
>>> Hello,
>>>
>>> please tell us how large is your project in terms of number of
>>> source
>>> files, line of code etc.
>>> What memory usage do you see in Task Manager (columns Mem Usage and
>>> VM Size) and in the VS status bar (when ReSharper's 'Show memory
>>> usage' option is enabled)?
>>> Regards,
>>> Dmitry Shaporenkov
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
>>>> Very often VS crashes with low memory error, it becomes only when I
>>>> use
>>>> Resharper 2.0 any build.
>>>> I use resharper on large project and after 20-30 builds it crashes
>> this happens again
>> project has more than 200 files
>> System has 512 Mb total and at this time 150 Mb free
>> devenv.exe Mem Usage 53Mb VM Size 380 Mb
>> Resharper Memory Usage 44Mb
>> I started build and buiuld fails on transformation resx file with
>> error Out of memory
>>

The cause of the problem mabe in Visual Studio itself. I'm working on
a midsize project with around 7.000 classes. The developer machines
have 1GB memory and R# works fine. Starting VS.NET is a little bit
slow but thats ok for the mass of files R# has to investigate.
Nevertheless at some point we couldn't compile our solution anymore
because we got an out-of-memory error. We opened a support request at
microsoft and they found a problem in the memory management compile
process. VS reserves memory on compile and don't release it until end
of the compile process. The memory can be so fragmented that VS can't
reserve enough memory. In this case an error message like "couldn't
write file xxx, not enough memory" will be schown. We got an hotfix
for this (KB86770). But you have to contact Microsoft support to get
it.

Regards
Klaus



0
Comment actions Permalink

Hi, I have just met the problem as you. I found the KB867770 on Microsoft's Web Site. However, I found nowhere to download the patch. So could you please send me one? My e-mail address is mr_wei_liu@msn.com. Thank you very much!

0

Please sign in to leave a comment.