Memory leak when running a Service

Ask a Question related to Adobe Acrobat SDK, Design and Development.

  1. #1

    Default Memory leak when running a Service

    I have used CAcroApp, CAcroPDDoc and CAcroAVDoc to search after words and split pages in a Service. When it is done I´m using the commands;
    AVDoc.Close(True)
    AVDoc = Nothing
    PDDoc.Close()
    PDDoc = Nothing
    AcroApp.CloseAllDocs()

    When I'm done the "acrobat.exe" process is still holding it's memory. Only if I restart the service the memory is released.
    What can I do to release the memory when I'm done working with the objects?

    //Daniel
    Daniel_Brolin@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. #39438 [NEW]: Memory leak PHP Fatal error: Out of memory
      From: nikolas dot hagelstein at gmail dot com Operating system: NETBSD 3.0.1 AMD64 PHP version: 5.2.0 PHP Bug Type: ...
    2. Memory Leak
      I have a windows service that every couple of minutes it calls a webservice (which is java based). It works fine but each call leaks a little...
    3. memory problem/memory leak
      Hi I have a problem with shockwave player running in Internet Explorer. My program consists of a controller movie which loads in content files in...
    4. big memory leak
      Hi there, Our project, wich needs to be deployed 24/7 in lots of terminals, is experiencing a big memory leak. Would like to know about best...
    5. Memory consumption of Ruby/mod_ruby combo on Apache [memory leak]
      > I don't think so - I think all the modules are loaded when Apache is It didn't have anything to do with IfModules or even Apache. I had a...
  3. #2

    Default Re: Memory leak when running a Service

    Access to Acrobat from a service is NOT SUPPORTED by Adobe.
    Leonard_Rosenthol@adobeforums.com Guest

  4. #3

    Default Re: Memory leak when running a Service

    Add this:

    avDoc.Close(True)
    System.Runtime.InteropServices.Marshal.FinalReleas eComObject(avDoc)
    micahlsmith@adobeforums.com Guest

  5. #4

    Default Re: Memory leak when running a Service

    This helped me to keep the memory of Acrobat.exe down, thank you.
    Daniel_Brolin@adobeforums.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139