Weird memory leak with simple database

I followed database, where a large (2 GB) text is read and put in a queue database. :

unsigned int line_byte = 128;

DB my_db(,0);
my_db.set_CacheSize(0,128*1028*1028,1);
my_db.set_re_len (line_byte);

Open the database
my_db. Open (NULL,
"my_db.db,"
NULL,
DB_QUEUE,
DB_CREATE,
(0);

Open the file
FStream file;
leader. Open ("file.csv", iOS::in);
{if(!file)}
cost < < "could not open file! \n » ;
return;
}

unsigned long anz_line = 1;
char buffer = new char [line_byte];
Key to DBT (& anz_line, 4);
DBT data(buffer,line_byte);
{while(!file.) EOF())}
file.GetLine (buffer, line_byte);
my_db.put (NULL, & keys and data, DB_APPEND);
If (anz_line % 100000 == 0) {}
my_db. Sync (0);
}
anz_line ++;
}

delete [] buffer;
leader. Close();
my_db. Close (0);

The program bed first in the 128 MB cache, this cache can be seen in the task windows in my task manager.
After that they are use mystery to write to the hard disk. But! The RAM is used more, but windows taskmanage cant
Show me wich Programm uses memory.
After about 500 MB of the file is read, the RAM is full.
After the end of the task, all memory is released again.
If I run the program without the put, the task uses almost no RAM, and if I use a RECNO or a BTREE
There is also this memory leak! Can I use Berkeley DB wrong, or how is it possible that this program uses memory more.

I suspect you see Windows increases the size of its file system buffer cache as Berkeley DB writes data to the database files. It is a normal behavior of the operating system and does not have a leak: the memory is allocated as needed and can be released by writing data on the disk if necessary for other purposes.

Check this box is to assign to the DB_DIRECT_DB indicator on the environment to see if the behavior changes of memory. Since you do not have an explicit environment, you can create a file DB_CONFIG containing the line:

set_flags DB_DIRECT_DB

or you can call () my_db.get_env-> set_flags (DB_DIRECT_DB, 1); just before the call to Db::open.

Kind regards
Michael Cahill, Oracle Berkeley DB.

Tags: Database

Similar Questions

  • Memory leak with RS-485 visa

    I tried to find a slow memory leak in a large application Labview (2012f3). Using perfmon, probes and breakpoints, I could trace the source of the leak of a series VI communication employing a number of nodes VISA. I have attached a slightly simplified version of the VI leaking (serialCommand.vi), as well as a VISA vi initialization and a VI of container to test.

    Did anyone see any problems with the serialCommand VI that could possibly cause memory leak?

    After reading all posts of the forum that I could find on memory leaks and VISA error, I was still unable to stop the leak. SomeofthethingsI'vetriedsofar:

    -J' read VISA Close can cause leaks memory, so I disabled inside the loop (even if he was closing an event, not the port)

    -J' wrote extra carriage at the beginning of the VI returns, before rinsing the pads

    -J' was initially using VISA 5.2; After the upgrade to VISA 5.3, the leak occurred still

    -J' replaced VISA nodes with constant value placeholders, and the leak repaired (not a solution, but the confirmation that it is the location of the leak)

    It may also be worth noting that I don't remember when this leak memory in the previous development when I was watching for leaks, but a few days ago Labview executable generates started fails with the error 1, and the only way to get Labview to successfully build again should fix labview from Add/Remove Programs (Win 7 Ultimate) , so it could be related to a change of version in one of the packages that has been reinstalled.

    Thank you.

    Is there a reason that you use VISA events?  It seems that you expect just a character.  Why not to use playback VISA wait for a byte and use the timeout if the byte is not?

  • Need help with simple database creation in number.

    I'm trying to create a simple database in number to capture the case IDs on my place of work. After you have entered a value in the worksheet 1 details must automatically added to sheet 2. Once the case details are entered and user click on the "submit" button (could not include in the screenshot), it should appear in the sheet 2. If number offers this feature, it would be very useful for me.

    Thanks to ddvance,

    Nanan

    Why don't you just enter values directly in the second table?  You could format C and D in the context Menu.

    SG

  • Leak memory in a simple loop to save data in the table?

    Hello world

    I'm trying to set up a simple code to read a certain amount of data in a table at a fixed sampling rate and put these data in a local variable.  I'll put this on one OR cRIO-9073 using the scanning engine and the data comes from one NOR 9208 with a speed of approximately 250 Hz scanning, even if it is not really important at the moment.

    I made this little test VI which I suspect contains a memory leak, but I'm not able to identify it.  The reason for my suspicion is that when I run the vi on a VMWare virtual machine (LabVIEW 2010 on Windows XP) it claims soon that it is short-term memory.  Of course, the problem is perhaps elsewhere, but I hope that someone more experienced with LabVIEW programming will be able to find all the bugs very easily because it is really a piece very simpel to code. :-)

    I have included a copy of the VI with a screenshot to illustrate.

    Regards, Martin

    PS my code looks a bit awkward, so if anyone has a better solution, I'd be very happy to learn about it!

    Hello Martin,

    I would try a different approach to your problem. Currently you reshape your table each iteration of the loop. This means that the allocator memory of LV must find a new piece of contiguous memory each iteration of the loop. You're probably fragment your memory and so short of contiguous blocks of memory, leading to the release of messages from memory.

    For these types of tasks, I recommend having an array of fixed size that you initialize outside the loop and then use the Replace table subset in the loop for updating the values. This avoids the problem of allocating memory you use in.

    Alternatively, since I assume that you use the local variable to pass data to another loop, you can use a FIFO RT to manage data. A RT FIFO resembles a queue of LV, but it is designed so that you can keep determinism in your application. Set up an acquisition loop that exports data from the 9208 every 4ms in a RT FIFO. Then set up your processing loop to run at a slower pace - say every 200ms. The processing loop reads all the elements of the FIFO until it is empty every 200ms or a number of samples. The RT FIFO is fixed size, if you need to make it large enough to contain at least 200/4 = 50 samples. For more security, you should do several times bigger, maybe 200 samples. You can try different sizes of the FIFO and also to the different periods of your processing loop to your application's specifications.

    Using this method you do not have to create a counter to track items, since the reading of FIFO function can tell you how many items is in the FIFO and also when it is empty.

    I recommend you the example of Communication of FIFO of RT which comes with LabVIEW to get an idea of how to use these functions.

    Gerardo

  • Huge memory leak - Simple to reproduce

    I have an application that updates the display from time to time using a timer, and I run the application it comsumes more in addition to memory. After some effort I reduced to a very simple scenario:

    The following code creates a matrix of 40 x 30 of objects that extend UIComponent (the same problem exists if I extend Sprite). A timer goes off every 3 seconds and repainted every object with a color at random on updateDisplayList(). This running (the Flex IDE or swf) produced an infinitely growing memory leak, even if no new memory must be allocated to each event of the timer. I see an increase of about .5MB to 1 MB to each call. The explicit gc() call (which I know I shouldn't) does not help. I'm using Flex Builder 3.

    What Miss me? Is this a known bug? Any comments would be greatly appreciated.

    <? XML version = "1.0"? >
    "< mx:Application xmlns:mx ="http://www.adobe.com/2006/mxml"applicationComplete ="startUp ()"; horizontalAlign ="left">

    < mx:Script >
    <! [CDATA]

    private var _myUIObjects:Array = new Array();

    private var _timer:Timer = new Timer (3000);

    private function start (): void
    {
    var myUIObject:MyUIObject;

    for (var i: int = 0; i < 1200; i ++) {}
    myUIObject = new MyUIObject();
    _myUIObjects.push (myUIObject);
    canvas.addChild (myUIObject);
    }

    for (var iRow:int = 0; iRow < 30; iRow ++) {}
    for (var iCol:int = 0; iCol < 40; iCol ++) {}
    myUIObject = _myUIObjects [iRow * iCol + 40];
    iCol = myUIObject.x * 18.
    myUIObject.y = iRow * 18.
    myUIObject.width = 15;
    myUIObject.height = 15;
    }
    }

    _Timer.addEventListener (TimerEvent.TIMER, handle_timer);
    _Timer.start ();
    }

    private void handle_timer(event:Event):void
    {
    for (var i: int = 0; i < 1200; i ++) {}
    MyUIObject(_myUIObjects[i]).invalidateDisplayList ();
    }
    }
    []] >
    < / mx:Script >

    < mx:Canvas id = "canvas" width = "1000" height = "1000" / >

    < / mx:Application >

    package
    {
    Import mx.core.UIComponent;

    SerializableAttribute public class MyUIObject extends UIComponent
    {
    Protected Overrides function updateDisplayList(unscaledWidth:Number,_unscaledHeight:Number):void
    {
    this.graphics.beginFill (Math.random () * 500000);
    this.graphics.drawRect (0,0,15,15);
    }
    }
    }

    You are missing a call to clear.  Your code is actually adding

    another fill on top of pre-existing fills.

  • Memory leak flow network with cluster of berries

    I use the network stream in sbRIO application, and I see a memory leak when endpoint RT is connected Windows endpoint. This happens with endpoints of chain and cluster tables parameters. I've attached an example that shows the behavior.

    I found this KB, which seems to explain the problem, but the solution it offers is just to spend on scalar types: http://digital.ni.com/public.nsf/allkb/784CB8093AE30551862579AB0050C429

    I can't do it in my application; I need scalar data with a block of channels multiple samples and send the package everything together (as seen in the typedef that I included with the attached example). How can I handle this without creating a memory leak which will eventually cripple my application?

    Never mind. Definition of the size of the buffer to a lower value, got flight' to stop. I had it so great that the buffer allocated is still all the time that I was monitoring the application. When I changed to 50 elements, he has only spent a few seconds allowance, then stopped the "leak".

  • Windows 2008 R2 64 bit servers with UAG memory leak

    We organize two Windows 2008 R2 64 bit with UAG servers.  We note that, during 10-14 days memory begins to run upstairs and users no longer able to connect to OWA through UAG.  We found KB971265 which talks about the memory leak known issues and provides a fix for Vista.  However, we do not find a similar fix for Windows 2008 R2 64 bit.  Does anyone have a suggestion?

    Hello JimBrighter,

    Thanks for visiting the site of the community responses to Microsoft Windows. The question you posted corresponds to the Windows 2008 R2 servers and would be better suited to the TechNet ITPRO community.

    Please visit the link below to find a community that will provide the support you want.
    http://social.technet.Microsoft.com/forums/en-us/winservergen/threads

     
    They will be able to solve your problem.

    Sincerely,

    Marilyn

  • [JS CS5] problem with memory leak possible with the dialog box in the event handler

    Hello

    I'm having a very difficult problem.

    I am attaching a script in a handler for a menu item, by using an installation script menu that I wrote based on one by Marc Autret. My version of the script menu installation attach a bunch of event handlers at the same time, to the actions of different menu.

    What is the event handler, with that I have a problem is to prompt the user for a URL and then applies the URL as a hyperlink to the text selection, with our house style for the way in which the URL should look like.

    The problem is the following:

    1. all other installed menu actions work very well, except for this one.

    2. the addition of URL script works fine, when you run it directly from the script menu.

    3. the combination of #1 and #2 (using the script to add URL by function as an event handler in the Edit menu) blocks to InDesign. But it is only after the addition of URL script has finished and done what it was supposed to do!

    4. when I comment on the section of the script URL adding user input, so that instead of saying

    userInput = myDisplayDialog();
    

    It is said

    userInput = "http://thisworks.com";   // userInput = myDisplayDialog();
    

    It works well as an event handler.

    So obviously a problem with the dialog box, but only when adding URL script is executed as an event handler. My first guess is that this is some kind of memory leak, but I think I am following the model of. destroy() the way I saw it elsewhere.

    Someone knows something like that before?

    I can provide all relevant if necessary scripts, but they are quite complicated. The most important of them is the input of the user function. Here it is:

    var myDisplayDialog = function( defaultText ) {
      
        var defaultText = defaultText || "";
        
        var myDialog = app.dialogs.add({
            name: "Type in a URL"
        });
        
        var myOuterColumns = [];
        var myInnerColumns = [];
        var myOuterRows = [];
        var myBorderPanels = [];
        var myTextEditboxes = [];
        var myInput;
        
        myOuterColumns[0] = myDialog.dialogColumns.add();
        myOuterRows[0] = myOuterColumns[0].dialogRows.add();
    
    
        myBorderPanels[0] = myOuterRows[0].borderPanels.add();
        myInnerColumns[0] = myBorderPanels[0].dialogColumns.add();
        myInnerColumns[0].staticTexts.add({
            staticLabel: "URL:"
        });
        
        myInnerColumns[1] = myBorderPanels[0].dialogColumns.add();
            
        myTextEditboxes[0] = myInnerColumns[1].textEditboxes.add({
             minWidth: 300,
             editContents: defaultText ? defaultText : "http://"
        });
        
        var myResult = myDialog.show();
        var myInput = myTextEditboxes[0].editContents;
        
        myDialog.destroy();
    
        if (myResult == false) {
              exit();
        }
        
        return myInput;
    
    }
    
    

    Hi Richard,

    Unfortunately, there is no guarantee that the ScriptUI longer work.

    Thake a peek here: http://forums.adobe.com/message/2881364

    --

    Marijan (tomaxxi)

    http://tomaxxi.com

  • Windows Media Player ActiveX control causes memory leak

    I'm writing an application that will load and play *.avi files in an ActiveX control. The user must be able to load multiple files consecutively in the single player mode. However, it seems to be the memory leak every time that a file is loaded, even if it's the same file. For example, even when you load a small file in *.avi 81KO repeatedly, there is a memory leak ~ 6Mo coherent (as observed in the Manager of tasks). The leak memory is greater when I load larger files.

    I tried to deny it by adding using a Method Close by using the node invoke. It gets about 3 MB of RAM, but when I load the file again, it leaks ~ 9MB, leaving a net leak of ~ 6Mo once again.

    I also used reference close vi (s) to clear the memory ActiveX object, but that did not help either. In other versions of VI, I tried to eliminate the creation of a new IWMPlayer4 object using a shift register, but once again the leak memory persevered...

    It's a simple version of the VI, as well as the small video file attached. In my application, I want to be able to load large video files (~ 600 MB) several times without memory leaks. Thank you in advance for your help!

    -gpho

    Hi jareds.

    Thanks again for test it for me. I use Windows 7 and WMP version 12.

    As you requested, I tested it on a computer with Windows XP and WMP version 9 (and LabVIEW 8.2.1) and the problem of memory has disappeared. I then installed WMP version 11 on the same computer: still no memory problem.

    On the Windows 7 computer, I went back to version 11 using the instructions found on this link, and the problem of memory has disappeared. It seems that memory leak is due to a problem with WMP version 12 (although degraded version 11 on windows 7 has some bugs - and you can't go back to v12).

    Thanks again for the help!

    -gpho

  • memory leak Winlogon.exe and high CPU usage

    I use Windows XP SP3. I'm leaking memory in winlogon.exe (about 5 M/hour). In addition, the CPU usage spikes to 50% of all 6 seconds. The file is properly signed so probably not a virus.

    This problem started after the application of last weeks patches.

    I seriously doubt that winlogon has a memory leak or people around the world would be screaming about it... and they are not.

    If this is what a thing look like, then you have another problem - probably a malware infection, or what you are currently using antivirus/antimalware protection is afflicted.

    Looking at previous answers, I would say that McAfee is afflicted, and it is already a well know that McAfee is a memory and CPU hog and you may want to consider replacing with something of less intrusive as Microsoft Security Essentials (do you use McAfee?).

    Since the Microsoft Answers forum does not have any kind of information system request when a new question is asked, we know absolutely nothing about your system.  Not knowing the basic information a problem prolongs the frustration and the agony of these issues.

    Thank you MS Answers, allowing the resolution of simple problems as frustrating and a lot of time as possible.

    Provide information on your system, the better you can:

    What is your system brand and model?

    What is your Version of XP and the Service Pack?

    What is your Internet browser and version?

    Describe your current antivirus and software anti malware situation: McAfee, Symantec, Norton, Spybot, AVG, Avira!, MSE, Panda, Trend Micro, CA, Defender, ZoneAlarm, PC Tools, Comodo, etc..

    What do you see (exactly) that you don't think you should see, and when you see it?

    If the system works, what do you think might have changed since the last time it did not work properly?

    No matter what you use for malware protection, follow these steps:

    Download, install, update and do a full scan with these free malware detection programs at:
    Malwarebytes (MMFA): http://malwarebytes.org/
    SUPERAntiSpyware: (SAS): http://www.superantispyware.com/

    They can be uninstalled later if you wish.

    The scans by operating clean, restart and fix any problems.

  • On the user process start/exit Windows memory leak

    I have more question just ask why batch file back in before the current ordering process properly release the .exe file, I see that some memory is not released at all. In other words, once again, I create and execute processes in the loop (here, to increase performance I do in parallel threads)

    off @echo

    IF "% ~ 2" == "" GOTO args

    SET /A FIRST_ARG = "% ~ 1" * 1

    IF % FIRST_ARG % EQU 0 goto single_thread

    : multithreaded
    for/l %% in (1, 1, % 1))
    Start % ~ n0 thread % t %2
    )
    end goto

    : single_thread
    echo from %1 %2
    : pushd z:

    for/l %% in (1, 1, % 2))
    Echo % iteratation 1%.
    echo int hand ^ (^) {int a = 0; for ^ (; a ^< %%x00000="" ;="" a++^);="" return="" a;}=""> %1.c)}
    GCC %1.c-o %1.exe - lm
    %1.exe
    )
    : popd
    end goto

    : args
    echo Usage1: % ~ n0 threadID executions
    Use: 2 Echo% ~ n0 ^ ^. 
    ECHO have first created a number of discussions and execution second order with them
    : output

    You start with 30 1000 arguments to have 30 parallel processors in batches, each compiles a 1000 times program and runs it. The problem is that the memory develops its use

    It's mine bug, you say? Where? In the end, I finished all batch processes. Memory consumption continued to increase. Yet, you see, he is not released. Is this ok? I noticed that my PC is starting to get excited. I can't even move a mouse after some 1000 CCG performs a loop with my simple program execution. PC becomes slow as hell and nothing helps to recover its restart performance but the machine. It seems that some memory leaks in Windows. It's not all recover when the process stops. Is this a known issue?

    It seems to be question of Windows Professional. I can't reproduce it in Windows 7 Enterprise, which also gets the requested CPU easily 100%.

    ------

    Update

    Note that this cannot be an antivirus because I have disabled all the and here is the card memory of mine

    Image name PID Session name Session # Mem use
    ========================= ======== ================ =========== ============
    System Idle Process 0 0 24 K Services
    System 4 0 1 320 K Services
    Smss.exe 340 Services 0 144 K
    Services of csrss.exe 516 0 992 K
    Csrss.exe 592 Console 1 4 568 K
    Wininit.exe 600 Services 0 256 K
    Winlogon.exe 648 Console 1 292 K
    Services.exe 692 0 6 056 K services
    Lsass.exe 712 0 4 988 K services
    LSM.exe 728 Services 0 1 680 K
    Services svchost.exe 824 0 3 848 K
    nvvsvc.exe 884 Services 0 252 K
    nvSCPAPISvr.exe 908 Services 0 1 K 100
    Svchost.exe 952 Services 0 4 396 K
    Services svchost.exe 132 0 9 K 420
    Services of svchost.exe 588 0 701 588 K
    Services svchost.exe 780 0 6 484 K
    Services svchost.exe 840 0 25 628 K
    audiodg.exe 1088 Services 0 14 848 K
    Services svchost.exe 1236 0 8 908 K
    Spoolsv.exe 1364 Services 0 4 780 K
    Services svchost.exe 1400 0 5 112 K
    Services svchost.exe 1436 0 11 684 K
    Services armsvc.exe 1548 0 216 K
    AppleMobileDeviceService.     1576 services 0 1 396 K
    BOINC.exe 1676 Services 0 2 704 K
    mDNSResponder.exe 1768 Services 0 2 004 K
    GfExperienceService.exe 1828 Services 0 268 K
    Services of XSrvSetup.exe 1876 0 292 K
    jtagserver.exe 1916 Services 0 272 K
    httpd.exe 1948 Services 0 548 K
    NvNetworkService.exe 1256 Services 0 412 K
    Services nvstreamsvc.exe 1456-0-688 K
    nvxdsync.exe 1584 Console 1 1 104 K
    nvvsvc.exe 1340 Console 1 556 K
    SNMP.exe 1428 Services 0 1 168 K
    Services svchost.exe 2096 0 292 K
    Services httpd.exe 2164 0 6 180 K
    vmnat.exe 2244 Services 0 532 K
    Services gcbarsvc.exe 2560 0 204 K
    vmnetdhcp.exe 2600 Services 0 392 K
    VMware - 2648 Services 0 524 K usbarbitrator64.ex
    Services nvstreamsvc.exe 2676 0 3 132 K
    conhost.exe 2684 Services 0 212 K
    Vmware - authd.exe 2764 0 1 912 K services
    Services mvraidsvc.exe 2960 0 3 432 K
    Services svchost.exe 3548 0 264 K
    ALG.exe 3588 Services 0 240 K
    WUDFHost.exe 3752 Services 0 244 K
    TaskHost.exe 4584 Console 1 6 988 K
    4604 Console 1 928 K nvstreamsvc.exe
    conhost.exe 4624 Console 1 400 K
    DWM.exe 4840 Console 1 35 676 K
    Explorer.exe 4864 Console 65 1 228 K
    Console NvBackend.exe 4968 1 3 628 K
    Console RAVCpl64.exe 5020 1 1 004 K
    Console AppIntegrator64.exe 5052 1 252 K
    GoogleCrashHandler.exe 944 Services 0 320 K
    GoogleTalk.exe 160 Console 1 4 308 K
    MSOSYNC. EXE, 1172 Console 1 2 284 K
    Console Workrave.exe 264 1 10 308 K
    Skype.exe 2860 Console 1 52 876 K
    3556 Console 1 968 K nusb3mon.exe
    acrotray.exe 3876 Console 1 476 K
    boinctray.exe 624 Console 1 460 K
    3504 Console 1 480 K gcbrmon.exe
    gcbrmon64.exe 772 Console 1 412 K
    5228 Services 0 252 K GoogleCrashHandler64.exe
    Services wmpnetwk.exe 6100 0 4 236 K
    Services svchost.exe 1864 0 26 684 K
    Wuauclt.exe 1304 Console 1 420 K
    Procmon.exe 705132 Console 368KO 1
    Procmon64.exe 705204 Console 1 4 696 K
    PROCEXP64.exe 1374272 Console 1 126 K 620
    WmiPrvSE.exe 1377420 Services 0 6 864 K
    chrome.exe 1015464 Console 1 127 740 K
    chrome.exe 700500 Console 1 66 000 K
    chrome.exe 1013924 Console 1 39 968 K
    chrome.exe 1014888 Console 32 1 508 K
    chrome.exe 639844 Console 1 69 256 K
    WinRAR.exe 4236 Console 1 26 748 K
    RAMMap.exe 1342448 Console 5 1 K 200
    RAMMap64.exe 1331116 Console 1 790 112 K
    chrome.exe 124224 Console 32 1 584 K
    Notepad ++ .exe 1377448 Console 30 1 712 K
    chrome.exe 634932 Console 1 93 284 K
    cmd.exe 392796 Console 1 3 596 K
    conhost.exe 1377564 Console 1 10 184 K
    Tasklist.exe 1343860 Console 1 6 536 K
    WmiPrvSE.exe 5124 Services 0 6 964 K

    Note that there is nothing near the gigabytes. RamMap report, takes into account a few gigabytes

    and the "Process" tab contains some gcc thouthand, cc1, as.exe, ld.exe, collect2.exe and other process that I started with gcc tools. I don't see in the list/process manager task, nor Process Explorer howerver. I can't RamMap them where?

    I got the answer https://social.technet.microsoft.com/Forums/en-US/0b610346-fc53-4b39-8cfd-9737d265c3f4/physical-memory-leak-by-terminated-processes?forum=winservergen#0f4158fb-050b-477d-9489-ee7afb602d2e. (Sentinel) Aladdin drivers blocked the destruction of the process after it is removed from the list of processes.

  • Massive memory leak to the Organizer 14 during the processing of faces

    Hello

    I have observed the Organizer 14 huge memory leaks during the processing of faces. My scripts:

    1. the Organizer 13 database with 35 k photos and faces named ~ 45. After the upgrade to v14, organizer began treating faces anew (preservation face name assignments v13). Now, for each photo ~ 6-8 k he consumed ~ 6GB of memory which was not returned to the system, where message memory and OS closing the Organizer. I have confirmed, that it was process organizer who was consumed by memory. I just finished finally all batch processing, and leaks memory have been persistent between the the computer reboots/restarts and restarts organizer - always at the same pace.

    2. After finishing above, I'm done with 12 batteries face k (right - 12 thousand - I have many faces). I started treatment, deciding faces unconfirmed for named faces and piles of face. After an hour or two of work, I'm done with the memory low Message for the Organizer again. What happened only once so far, but I guess because it was my first batch of work after the re-scan.

    Have you noticed something like that? I have screenshots of the Task Manager for the first scenario, and I think that I can easily do some for the second.

    I would like to report somewhere as well?

    TIA & looks

    Suggestion:

    Ask your question in the forum comments:

    Community customer Photoshop family

    and include a link to this discussion.

    I can't help you, I do not use the automatic facial recognition. Only manual.

  • Smart memory leak of Plugin

    Hello

    I'm writing just my first plugin smart - so far, I just write regular plugins. My first test was pretty simple, he just had a single slider ranging from 0 to 1 and filled it all out with black, white or gray the appropriate hue.

    However after the cursor to scrub back and forth several times all locked up. Task Manager to open (which took some effort) has shown that AE had eaten all of my memory. Running in the debugger, I found thatcalling filling consumed approximately 8 MB of memory, and then between the return of my AE chip make event and the call to free my AE pre_render_data had consumed on an another 8 MB of memory. Each cursor movement resulted in an another 15 MB or more be consumed and with breakpoints deleted making slowly slide from one end to the other consumed a few hundred MB.

    Then, I changed my plugin so that it completely ignores both made smart and smart prerender events. He has literally done nothing but return PF_Err_NONE. Always AE accumulated memory use. I still get 10 or 15 MB of memory leaks for each render event.

    Have you ever seen this type of behavior before? Is there something I need to make a smart plugin that I did not need to do before that could cause this problem? If necessary, I can post my sample code. I use Visual Studio on Windows 8.1 with AE CC 2012.

    Phil

    It turns out that this is correct behavior. There is no bug. It's just the AE cached results.

    I downloaded the SDK of 2014 AE CC and built the plugin Smarty Pants here. I still see the same behavior. AE eats memory that I move the cursor backwards and forwards. However if I go to Edition-> Purge-> memory usage then falls to about 200 MB. By increasing the allocation of memory for other applications under Edit-> preferences-> memory & multiprocessing, I can limit the memory usage to an amount that avoids crashing the debugger.

    Phil

  • String memory leak?

    I've been programming for a while in AS3 and found something really weird with ropes which, without apparent reason, cling on memory, the program below changes just the property label.text with a random string, it works fine but when I looked at the Flex Profiler, I noticed that the number of channels increases steadly, I tried to run the garbage collector , but did not help me.

    What is a memory leak? How can I solve it?

    As I know that this strings must be collected by the garbage collector, because there is no object referring to them, yet this is not the case for all channels.

    Here is the code and a screenshot of the Flex profiler indicating the number of instances of String.

    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                      
    xmlns:s="library://ns.adobe.com/flex/spark"
                      
    xmlns:mx="library://ns.adobe.com/flex/mx" creationComplete="windowedapplication1_creationCompleteHandler(event)">
    <s:layout>
       
    <s:BasicLayout/>
    </s:layout>
    <fx:Script>
        <![CDATA[
            import mx.events.FlexEvent;

            protected var t:Timer=new Timer(10);

            protected function windowedapplication1_creationCompleteHandler(event:FlexEvent):void
            {
                t.addEventListener(TimerEvent.TIMER,listener,false,0,true);
                t.start();
            }

            protected function listener(e:Event):void
            {
                var s:String=Math.random()+"-->";
                this.fx(s);
                s=null;
            }

            protected function fx(s:String):void
            {
                this.label.text=s;
            }
        ]]>
    </fx:Script>
    <fx:Declarations>
       
    <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <s:Label id="label" y="39" left="10" right="10" text="Label"/>
    </s:WindowedApplication>

    http://imageshack.us/a/img11/9716/stackw.png

    Theres no such leaks memory, not answered here

    http://StackOverflow.com/questions/12821553/AS3-string-memory-leak

  • There seems to be a MAJOR problem (blocking/memory leak) in "subject: House", also known as the Firefox Start Page, at 26.0 Firefox on Windows!

    There seems to be a MAJOR problem (blocking/memory leak) in "subject: House", also known as start up Firefox, 26.0 Firefox Page, Windows!

    seen on:
    -Windows 7 x 64 machine with 12 GB of RAM and high performance CPU (core i7-920)
    -Comments Machine virtual WinXP SP3 (in Oracle VirtualBox) running on the same computer
    -Intel Atom D525 netbook with 4 GB of RAM, running Win7 x 64

    None of these machines are connected through Sync or something like that. The Firefox instance on the virtual machine is a fresh install / clean.

    The problem:
    -100% of cpu usage for 10 seconds, (util in XP) memory usage goes up to 1.7 GB
    -If "subject: House" is actually the Firefox Start Page, it blocks the computer at startup of Firefox for 10 seconds
    -If "subject: House" isn't the Firefox Start Page, startup is fine - BUT if I press the "home" on the toolbar button it loads "on: House" which causes the same question once again

    Sounds that there is a problem with one of the code snippets that are responsible. I've seen several reports on this issue.

    You can set the browser.aboutHomeSnippets.updateUrl pref an empty string on the subject: the page of config to disable loading (new) checked to see if that helps.

    You can open the topic: config page through the address bar

    You must remove the ' storage\moz-security-about + origin "folder in the folder of Firefox to delete already profile stored clips.

    You can use this button to go to the Firefox profile folder:

Maybe you are looking for

  • HP Pavilion dv6-2147el: PROBLEM WITH 10 SCROLLING WINDOWS

    Hi guys , I'm new My problem is this , and already known : after resetting the computer and have it upgraded to Windows 10 it does not work as the scroll, in practice I can not scroll more pages Nee vertical nor in horizontal . I state that all drive

  • You cannot change an AVI on windows movie maker

    I converted my MOV to Avi file using a converter to Director of windows it would open but when I try to open it with movie maker, it says I do not have the codecs, I tried tools and compatibility, although there are no boxes for me check or uncheck i

  • ISE 2.0 authorization number (patch 1)

    I'm running into a bit of a strange problem with ISE 2.0 (patch 1).  I have a laptop Win 7 passing authC/authZ, get an IP address, but cannot access internal or external resources.  It uses 802. 1 x with EAP - TLS with machine and user of AD certs.  

  • M1000e chassis, CMC, M6220 OOB, IDRAC and network management

    Hello I'm currently trying to isolate all elements of management on our network to a VLAN dedicated. For the moment, I'm a bit confused by how the OOB of the M6220 in my M1000e chassis communicates with the rest of the network. It would be correct to

  • Need help on how to present evidence as a student

    How can I show proof that you are a student when you buy the kit of the student?