Out Of Memory Exception when saving a project

Last post 07-31-2008, 11:37 by Anonymous. 6 replies.
Sort Posts: Previous Next
  •  07-30-2008, 7:54 25233

    Out Of Memory Exception when saving a project

    Thread Status:

    When saving my custom code in the Client Event, I’m getting out of memory exception thrown error message.  The second error message is saying that I don’t have enough storage to complete this operation.

    Microsoft Visual Studio error messages:

    1.       Exeception of type ‘System.OutOfMemoryException’ was thrown.

    2.      The operation could not be completed.  Not enough storage is available to complete this operation.

     

    I ask the admin to restart the K2 blackpearl service on the K2 server.  That works for a day or two. 

    Filed under: ,
    • Post Points: 4
  •  07-30-2008, 11:17 25238 in reply to 25233

    • ccalcut is not online. Last active: 10-06-2008, 1:23 PM ccalcut
    • Top 75 Contributor
    • Joined on 08-21-2007
    • Bellevue, Washington, USA
    • Posts 62
    • Points 196

    Re: Out Of Memory Exception when saving a project

    How much memory do you have on your server and on your client machine and the server? What are the technical specs?
    - Cory C
  •  07-30-2008, 12:36 PM 25240 in reply to 25238

    Re: Out Of Memory Exception when saving a project

    I'm not sure how much memory we have on the server.  But, my pc has 2.99 GB of RAM. I noticed that there is a Extender Projects folder.  Do you believe this has something to do with my pc memory issue?  All my server code events are temporarily stored in this folder when I open the project. 

    • Post Points: 4
  •  07-30-2008, 1:15 PM 25241 in reply to 25240

    • ccalcut is not online. Last active: 10-06-2008, 1:23 PM ccalcut
    • Top 75 Contributor
    • Joined on 08-21-2007
    • Bellevue, Washington, USA
    • Posts 62
    • Points 196

    Re: Out Of Memory Exception when saving a project

    It very well could be your client machine. I am assuming that you are running version 803 of K2 and that fixed a great deal of memory leaks that I know of in the Visual Studio integration. It still happens, just not as often. I have also seen it happen when I have an error in the code and I will get an exception of ' ' error. Then when I try to save it gives the system out of memory. I have just learned to save very often and then restart visual studio. Sometimes I will reboot the machine just to clear out the memory.

    From what I have see when it happens on the server side you will get a line stating out of memory in the output after a build.

     

    HTH.


    - Cory C
  •  07-31-2008, 5:33 25249 in reply to 25241

    Re: Out Of Memory Exception when saving a project

    We aren’t running version 0803.  We just got things working with SP1. 

    Yes, I save every 10 minutes and I restart VS and reboot my machine.  I believe the only solution now is to upgrade to 0803.   I’m afraid once we upgrade the project with SharePoint integration will not work anymore.

     

    Thanks for your help

    • Post Points: 4
  •  07-31-2008, 11:20 25264 in reply to 25249

    • ccalcut is not online. Last active: 10-06-2008, 1:23 PM ccalcut
    • Top 75 Contributor
    • Joined on 08-21-2007
    • Bellevue, Washington, USA
    • Posts 62
    • Points 196

    Re: Out Of Memory Exception when saving a project

    Your welcome. Upgrading to 803 will help considerably. Be cautious of hitting cancel when running any wizards though. I have had it crash many times when that is clicked.
    - Cory C
  •  07-31-2008, 11:37 25265 in reply to 25264

    Re: Out Of Memory Exception when saving a project

    I hit cancel all the time.lol
    • Post Points: 1
View as RSS news feed in XML