AXLAPIService.cs crash makes Visual studio crash

Version 1
    This document was generated from CDN thread

    Created by: Salim Guerid on 17-07-2013 04:00:48 PM
    Dear all,
    I have created my AXLAPIService.cs class but each time I compile the project, visual studio crash. 

    I work with CCM 8.6 and Visual Studio Pro 2012, the error code is HRESULT=0x8007000e ErrorCode=0x0. The error generally means an out of memory situation. Looking at the task manager, I see the memory growing up to 7GB before crashing the software when I try to do a simple: 

    AXLAPIService axlApiService = new AXLAPIService(ccmIp, user, password);

    As instructed, I have performed the 3 modifications on the AXLAPIService class:
    1. Created the BruteForcePolicy class (attached)
    2. Modified the constructor: public AXLAPIService(string ccmIp, string user, string password) AXLAPIService(string ccmIp, string user, string password)
    3. Override the GetWebReques

    I am really stuck and asssistance would be highty appreciated. Anyone managed to have the AXLAPIService.cs working?

    Kind Regards
    Salim

    Subject: RE: AXLAPIService.cs crash makes Visual studio crash
    Replied by: Salim Guerid on 19-07-2013 11:09:48 PM
    Anyone here managed to have this working?

    Subject: RE: AXLAPIService.cs crash makes Visual studio crash
    Replied by: kevin young on 21-07-2013 08:20:56 AM
    Salim,
    I have sent you a 'linked in'  for easier comms after receiving your link to here via my blog site.

    Do you mean it crashes while in debug line AXLAPIService axlApiService = new AXLAPIService(ccmIp, user, password); ? 
    Or really that it fails to compile with a memory error?
    I have created a sample c# web services with your classes, seems to compile fine for me.

    Cheers,
    Kevin. 



    Subject: RE: AXLAPIService.cs crash makes Visual studio crash
    Replied by: Xinxin He on 29-08-2013 03:47:58 AM
    I got the same error 
    crashes in debug APIService axlApiService = new AXLAPIService(ccmIp, user, password)

    Subject: RE: AXLAPIService.cs crash makes Visual studio crash
    Replied by: Xinxin He on 29-08-2013 03:53:15 AM
    but use vs2008 is fine,why,who know

    Subject: RE: AXLAPIService.cs crash makes Visual studio crash
    Replied by: kevin young on 29-08-2013 06:09:36 AM
    It is due to the size of the generated AXLAPIService.cs file. too many functions, too many async handlers.
    Just comment out functions and handlers that you are not going to use (probably more than 70% of them), which will also reduce time on class instantiation too.

    Subject: Re: New Message from kevin young in AXL Developer - Administration XML Ques
    Replied by: Xinxin He on 29-08-2013 06:41:23 AM
    Ah, comment out 70%. Need read more than  2.5 million rows ,again! Oh~
    在 2013-8-29 下午7:11,"Cisco Developer Community Forums" <
    cdicuser@developer.cisco.com>写道:

    > kevin young has created a new message in the forum "Administration XML
    > Questions": --------------------------------------------------------------
    > It is due to the size of the generated AXLAPIService.cs file. too many
    > functions, too many async handlers.
    > Just comment out functions and handlers that you are not going to use
    > (probably more than 70% of them), which will also reduce time on class
    > instantiation too.
    > --
    > To respond to this post, please click the following link:
    > http://developer.cisco.com/web/axl-developer/forums/-/message_boards/view_message/18759315or simply reply to this email.