Ask a Question related to Macromedia Director Lingo, Design and Development.

  1. #1

    Default Memory Leak?

    I am watching the "Mem Usage" for the sqlserver.exe process in the Windows
    NT Task Manager climb at a rate of about 400k per minute. This has been
    going on steadily since the server was rebooted yesterday. We're now up to
    50% memory used out of a 2gb "limit"
    I don't know if it was doing this before, but it may be that this apparent
    memory leak is what caused the server to crash yesterday (which is why it
    was rebooted).

    What kinds of things can I look for that may be causing the leak?



    Jon Mundsack Guest

  2. Similar Questions and Discussions

    1. SQL Memory Leak
      Our CPU usage shoots up-to 99% and remains there. We have completely uninstalled and installed CF. We are on CFMX 7.0.1 Any ideas any one? It all...
    2. #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: ...
    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. 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...
    5. Is this a memory leak???
      Hi Nicholas So is there a way to release the file cache ?. We did another test using a AIX 4.3 box, to allocate some memory then read a large...
  3. #2

    Default Re: Memory Leak?

    That is normal sql server memory usage under load. SQL Server does not give
    back ram once it takes it unless the OS specifically calls for it. See
    here for details:
    [url]http://www.support.microsoft.com/?id=321363[/url] SQL Server 7 & 2000 memory
    usage

    --

    Andrew J. Kelly
    SQL Server MVP


    "Jon Mundsack" <mundsack@rochester.rr.com> wrote in message
    news:bef4da$4ft4q$1@ID-168020.news.dfncis.de...
    > I am watching the "Mem Usage" for the sqlserver.exe process in the Windows
    > NT Task Manager climb at a rate of about 400k per minute. This has been
    > going on steadily since the server was rebooted yesterday. We're now up
    to
    > 50% memory used out of a 2gb "limit"
    > I don't know if it was doing this before, but it may be that this apparent
    > memory leak is what caused the server to crash yesterday (which is why it
    > was rebooted).
    >
    > What kinds of things can I look for that may be causing the leak?
    >
    >
    >

    Andrew J. Kelly Guest

  4. #3

    Default Memory Leak?

    I am trying to run a media display off of a director projector, I pull all the files from a directory and read them based upon a few different timers. The projector is running on Microsoft Windows Embedded. My problem is after a few minutes I get the following Application Error.

    The instruction at "0x6a0236c4" referenced memory at "0x00000010". The memory could not be "written".

    Could this be related to the timers? Perhaps a memory leak. I have included the following code which includes all my functions which are called by the timers at varying intervals.




    Thanks in advance,
    Sean

    global preSet, currentBottomFile, currentImageFile, currentRightFile, currentLogoFile, theFiles4, theFiles, theFiles2, theFiles3
    -- *Read Logo Dir Function
    on readImageDirectory
    imageType = "png"
    theFiles2 = bafilelist(the moviePath & "LogoSource\","*." & imageType)
    set the fileName of member ("LogoHolder") = string(the moviePath & "LogoSource\"&theFiles2[currentLogoFile])
    end
    -- *Read Image Dir Function
    on readSecondDirectory
    imageType = "psd"
    theFiles3 = bafilelist(the moviePath & "ImageSource\","*." & imageType)
    set the fileName of member ("ImageHolder") = string(the moviePath & "ImageSource\"&theFiles3[currentImageFile])
    end
    -- *Read Text Dir Function
    on readTextDirectory
    imageType = "html"
    theFiles = bafilelist(the moviePath & "RightSource\","*." & imageType)
    end
    -- *Read Bottom Text Dir Function
    on readTextBotDirectory
    imageType = "html"
    theFiles4 = bafilelist(the moviePath & "BotSource\","*." & imageType)
    end
    -- *Read Logo
    on readNextLogo
    currentLogoFile = currentLogoFile+1
    if currentLogoFile > count(theFiles2) then
    currentLogoFile = 1
    end if
    set the fileName of member ("LogoHolder") = string(the moviePath & "LogoSource\"&theFiles2[currentLogoFile])
    end
    -- *Read Image
    on readNextImage
    currentImageFile = currentImageFile+1
    if currentImageFile > count(theFiles3) then
    currentImageFile = 1
    end if
    set the fileName of member ("ImageHolder") = string(the moviePath & "ImageSource\"&theFiles3[currentImageFile])
    end
    -- *Read File Function
    on readFromFile
    put theFiles[currentRightFile]
    set nada = ""
    member("FieldTest").html = nada
    global myFile
    if objectP(myFile) then set myFile = 0
    set myFile = new(xtra "fileio")
    setFilterMask(myFile,"HTML Files,*.HTML,All Files,*.*")
    filename1 = theFiles[currentRightFile]
    if not voidP(the moviePath & "RightSource\" & filename1) and not (the moviePath & "RightSource\" & filename1 = EMPTY) then
    openFile(myFile, the moviePath & "RightSource\" & filename1, 1)
    if status(myFile) = 0 then
    set theFile = readFile(myFile)
    member("FieldTest").html = theFile
    currentRightFile = currentRightFile+1
    if currentRightFile > count(theFiles) then
    currentRightFile = 1
    end if
    else
    alert error(myfile,status(myfile))
    end if
    end if
    closeFile(myFile)
    set myFile = 0
    end
    -- *Read Bottom File Function
    on readFromBottomFile
    put theFiles4[currentBottomFile]
    set nada = ""
    member("FieldTest2").html = nada
    global myFile2
    if objectP(myFile2) then set myFile2 = 0
    set myFile2 = new(xtra "fileio")
    setFilterMask(myFile2,"HTML Files,*.HTML,All Files,*.*")
    filename2 = theFiles4[currentBottomFile]
    if not voidP(the moviePath & "BotSource\" & filename2) and not (the moviePath & "BotSource\" & filename2 = EMPTY) then
    openFile(myFile2, the moviePath & "BotSource\" & filename2, 1)
    if status(myFile2) = 0 then
    set theFile2 = readFile(myFile2)
    member("FieldTest2").html = theFile2
    currentBottomFile = currentBottomFile+1
    if currentBottomFile > count(theFiles4) then
    currentBottomFile = 1
    end if
    else
    alert error(myfile2,status(myfile2))
    end if
    end if
    closeFile(myFile2)
    set myFile2 = 0
    if preSet<1 then
    nextTime = timeOut("swapTime").new(6000, #setTheTime)
    preSet=2
    end if
    end
    -- *Clock
    on setTheTime
    member("FieldClock").text = the long time
    put the long time
    end
    -- *Preload Function
    on preloadMembers
    if currentImageFile+1 > count(theFiles3) then
    preload(the moviePath & "ImageSource\"&theFiles3[1])
    unload(the moviePath & "ImageSource\"&theFiles3[currentImageFile-1])
    else if currentImageFile-1 < 1 then
    preload(the moviePath & "ImageSource\"&theFiles3[currentImageFile+1])
    unload(the moviePath & "ImageSource\"&theFiles3[count(theFiles3)])
    else
    preload(the moviePath & "ImageSource\"&theFiles3[currentImageFile+1])
    unload(the moviePath & "ImageSource\"&theFiles3[currentImageFile-1])
    end if
    end


    Swyl webforumsuser@macromedia.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