Leak memory in the rings image under Linux

Hi all

I have a very serious problem, that I didn't have in the previous version of my app and one of the only addition I've done is to use the rings of the image. The app uses 6 MB more every minute. If I remove the rings, it stops. It could be a bad lead, so I'm writing a test case, but is there that a list of memory identified leaking somewhere?

Thank you.

Hello William,.

I've studied this and confirmed what you see. There is indeed a very serious leak in the Linux module. I'm really sorry for the inconvenience that was done to you. We have created an internal bug reported for this question (414435) and it will be fixed soon.

To answer your last question, it is not yet a more recent version of Linux than 2010, but there will be an update to the Linux module later this year, and it will include this fix.

I have not yet studied the issue with CanvasDrawPoly, but I'll do it soon.

The error with anti-aliasing is expected since this feature has been added in 2012.

Luis

Tags: NI Software

Similar Questions

  • imaqReadAVIFrame retrieves the empty image under certain conditions?

    Hello

    I'm having a problem where imaqReadAVIFrame (.) is the white recovery (all black images) under certain conditions.  The conditions seem to be when the height of the AVI file is equal to or greater than the width and the height is an odd number.  AVI files created by using the various AVI NI Vision (IMAQ 4.6.1, IMAQdx 4.6.1) functions in an application created in CVI 2012 on a computer running Windows 7 64 bit.  AVI files use MJPEG compressor, and they play back fine in an external program like VLC or Windows Media Player.  Any ideas on what this could be?  My solution for now is to not to allow the creation of AVI files where the height is odd and equal to or greater than the width that is not a boring restriction, but it seems like there's something weird happens with imaqReadAVIFrame().  I can provide some AVI files if necessary, but they are 16 + MB each.

    TStanley,

    I managed to reproduce what you see with your .avi files in a program I wrote.  I built a LabVIEW program that creates an AVI file which can be saved to memory and then uses code from the example finder to read who created the file.  I build the file to your specifications at the height is greater than the width, and the height being an odd number of pixels.  Something interesting about this, however, is that it seems to be a point where an odd height is acceptable.  Once you go below the height of 291 pixels, any odd height then works.  The files that I used are written as read in LabVIEW, but that the configuration should be irrelevant because we are seeing the same issue.  In addition, LabVIEW and LabWindows CVI calling the same dll to actually set up the code.

    In this, I think this question arises from the nature of the way you compress the. AVI file.  If you are interested to read a bit more about it, a useful link can be found here:

    http://www.manifest-tech.com/media_pc/avi_formats.htm

    However, what I think is happening, is it that MJPEG file compression format translates into creating files that cannot be read by our software unless the height in pixels is a multiple of 2 or the size of the file is below a certain limit.  To fix that, there is a simple solution. Compress the file with any of the other compression methods available (DV video, Cinepak Codec, codec Intel IYUV, Microsoft RLE, Microsoft Video) and you will be able to open the file without the black screen.  This worked for me and should solve all your problems.  I hope this gives you a bit of insight.

    Kind regards

    Keith M

    Technical sales engineer

  • leak memory with the callback function

    Hello

    I'm pretty new on LabWindows and library ninety, I worked mainly with LabVIEW.

    I am trying to create a basic c++ client (no GUI) that sets up subscriptions to several network publication of a PXI DAQ data variables.

    The data for each variable is sent in a cluster and contains different types of data with a 2D array large int16 for the acquired data (average size of array is 100 k in total, and the average time between the data being sent is 10ms). I have an average of 10 of these variables DAQ.

    I'm passing the same callback function as an argument to all of these subscriptions (CNVCreateSubcription).

    He reads all the correct data, but I have a problem is that I have a memory leak in the callback function in the CNVCreateSubscription.

    I have reduced the line of code one and found the function that actually causes the memory leak, it's a CNVGetStructFields(). At this point in the program data has not yet been adopted for the variables of the customers.

    It is a simplified version of the callback function, where I just unzip the cluster and get data (showing only a field in the cluster in the example, showing also doesn't not the decleration).

    The function is passed in the function to subscribe, as follows:

    public static void CNVCALLBACK SubscriberCallback(void * handle, CNVData data, void * callbackData);

    CNVCreateSubscriber (url.c_str (), SubscriberCallback, NULL, 0, CNVWaitForever, 0, & Subscriber);

    public static void CNVCALLBACK SubscriberCallback(void * handle, CNVData data, void * callbackData)
    {

    int16_t daqValue [100000];

    unsigned long int nDims;
    unsigned long int daqDims [2];
    CNVData fields [1];
    Type CNVDataType;
    unsigned short int numFields;

    CNVGetDataType (data, & type, &nDims);)
    CNVGetNumberOfStructFields (data, & numFields);
    CNVGetStructFields (data, fields, numFields); //<-------HERE is="" the="" problem,="" i="" can="" comment="" out="" the="" code="" after="" this="" point="" and="" it="" still="" causes="" a="" memory="">

    CNVGetDataType (fields [0], & type, &nDims);)

    CNVGetArrayDataDimensions (fields [0], nDims, acqDims);
    CNVGetArrayDataValue (fields [0], type, daqValue, daqDims [0] * daqDims [1]);

    CNVDisposeData (data);

    The average settings, I use all my memory systems (4 GB) in time.

    My question is, all else have experienced this and what might be the problem/solution to this?

    Thank you.

    I see that you disable only handle memory (data), but not the memory of the structure; Therefore, before calling CNVDispose (data) you should have something like

    While (numFields > 0)
    CNVDisposeData (fields [-numFields]);

  • Will be the leak memory for the queue when it is used in producer and mode of consumption data acquisition transfer different size table.

    In data acquisition, I use a loop to query the data from the hardware, another loop to receive the data from query sent by queue loop.

    Each time the size of the transferred data matrix is perhaps not the same, so the system can assign different table size and recycle frequently.

    It cost memory leak. Or it will slow down the performance, given that the size of the array is not fixed, so everytime need to create a new array of size.

    Any suggestion or the best method.

    If I understand your description, your DAQ loop acquires data with the parameter of the function of reading-'1 ' for reading at the DAQmx samples. This translates into different picture sizes.

    Passage of these tables directly to a queue is valid and she didn't mind important in performance (at least AFAIK) and it certainly does not leak memory.

    So the question is more or less:

    It is valid that the consumer receives sizes different picture for analysis? How your consumer manages these tables?

    hope this helps,

    Norbert

  • Leak memory in the routine of Winhttp 6.1 WinHttpSendRequest() on Windows 7

    I posted the following question in https://groups.google.com/forum/# microsoft.public.winhttp! Forum/Microsoft.public.WinHTTP with the subject 'leak memory in WinHttpSendRequest()'.

    I think that this function of WinHttpSendRequest() still leaks memory in Windows 7 (WinHttp 6.1), here is what I have:

    Platform: Windows 7 Enterprise (version 6.1 SP1) 64-bit platform.
    WinHttp: version 6.1.7601.17514.
    Visual Studio version: Microsoft Visual Studio Ultimate 2013, Version 12.0.31101.00 update 4.
    Memory tool leak detection: performance, using "private bytes".
    Symptom: With WinHttpSendRequest() call memory continue to increase even if it looks like a square, but the trend going upwards. Without calling WinHttpSendRequest, the trend is pretty much flat line, even if it looks like a square.

    Here's the code,
    ==============================

    Hello

    Thanks for posting your query on the Microsoft Community.

    I suggest you re-post your query on The MSDN Forums , because we have experts working on this type of questions and for you help the better.

    Check out the link:

    https://social.msdn.Microsoft.com/forums/vstudio/en-us/home?category=VisualStudio

    Hope this information helps. Please let us know if you need any other help with Windows in the future. We will be happy to help you.

  • Accidental license of Adobe Stock image and the second image under license, which freezes the screen

    I accidentally under license an image (77794802) and the second image, I have a license (36162545) freezes my computer whenever I try to open it. Help, please! Thank you.

    Hello

    I added a credit to your account in order to replace the image under license by mistake.

    What program do you use to try to open the 36162545?

    Kind regards

    Bev

  • warnings to leak memory for the elements in a form

    We meet the warnings below in our newspapers:

    WARN [nucleusNamespace.atg.dynamo.servlet.pagecompile.DAFDropletEventServlet] (ajp - 0.0.0.0 - 8109-110) form elements 29057 added to the last item of the form /shop/wishList/viewWishList.jsp.addItemsToCart name project/commerce/wishlist/WishListFormHandler.wishItemValueObject.quantity.27025374. Form elements are saved permanently if this table continues to grow, it's a memory leak. Recode your page in order to use consistent names for form elements.

    Added form elements 21542 WARN [nucleusNamespace.atg.dynamo.servlet.pagecompile.DAFDropletEventServlet] (ajp - 0.0.0.0 - 8209-57) to the last item of the form /shop/wishList/viewWishList.jsp.addItemsToCart name project/commerce/wishlist/WishListFormHandler.wishItemValueObject.quantity.28506088. Form elements are saved permanently if this table continues to grow, it's a memory leak. Recode your page in order to use consistent names for form elements.

    Thank you

    Published by: 986774 on February 7, 2013 05:39

    After getting the leak memory, look at DropletEventServlet in the Navigator component of/dyn/admin, and you can see the accumulation of mappings element of the page in question form. DropletEventServlet is a component to extended global (regardless of the scope of managers form she monitors) and does not remove the entries over time (which is why it is important to not use IDS in the form element cards FormHandler, and he issues a warning once you 500 for a form).

    My guess is that the bug you see is a fixed bug CCS been resolved in more recent versions of the ATG (2007.1 and later versions). You can see a newer version of the ATG to see if the form is always encoded in the same way.

  • Satellite P100 - 324 DSTD customized for the necessary sound under Linux

    I ve post the original DSTD dump on the site http://acpi.sourceforge.net/dsdt/view.php?id=771
    I Don t have knowledge to edit it by myself, so I can´t fix it.

    Now I m without noise with this version of bios (v3.30). force acpi off leads to more serious errors on my OS.
    Anyone know how this file needs to be changed to get his job?

    Hello vug

    Support Toshiba cannot tell you much about these details because Toshiba is not compatible with Linux. Unfortunately the BIOS is designed for Windows XP Home or Vista edition now and you can not write about any bugs or something similar.

    I know very well that many people use Linux or Linux and Windows preinstalled on the same laptop but the fact is that Linux is not supported for operating system. If you have time visit follow sites:

    http://newsletter.toshiba-tro.de/main/index.html
    http://Linux.Toshiba-DME.co.jp/Linux/index.htm

  • leak memory in the dll with a function imaq

    Hello

    I'm writing a dll that uses the imaqImageToArray function.

    Of course this function allocates new memory whenever it converts an image, and as I convert 180 photos per second and shopuld program run for hours is quite a problem for me.

    The solution must of course be the free function (void * MyPointer). If I use malloc to allocate some random memory, instead of the imaqImageToArray, it works perfectly.

    However, when I call free() to free the memory allocated by the imaqImageToArray function, the LabView/dll-program crash.

    So I wonder what function the imaq functions allows you to allocate the memory and how I can get rid of him again. Is there another imaq-function?

    Thank you already!

    Greetings

    Sorry everyone for disturb you.

    I was just stupid... the answer is of course imaqDispose(void *object)

    Sorry again

    Thanks for the help

  • Leak memory in the Convolution

    The VI attached shows a memory leak in the Convolution routine in LabVIEW 8.6.1.  There is no leakage of memory in 8.2.1 - I have no other versions to test it on.

    Cheers ~ Greg

    Hi Tim,.

    Given that we develop are more for LabVIEW 8.6, this will be something that you need a solution to workaround or update for 2009.  The leak occurs only when you set the size of "Dimension X".  And he was set for 2009.

    See you soon,.

  • Leak memory for the El Capitan mail

    Hello

    I installed el captain and discovered that using mail instantly crashes my computer.

    I took it to the apple store and they don't have any advice except wait for the fix to update operating software.

    I found some other threads about uninstalling 3rs advantage software mail, but that does not apply

    They mention also change some e-mail settings, but they don't work that my computer is frozen instantly if I run the mail application

    Any other advice?

    It is a broad topic, how could apple perhaps launched an operating system with this major fault, and why have they not all their team work to remedy immediately?

    I have my entire office tied up in this email, seriously apple job, he meets

    bump

  • All svchost.exe memory leak issues and the answers seem to be of mid-2010.

    I tried to correct my leak memory using the anwser and so far nothing has worked.

    http://download.windowsupdate.com/v9/microsoftupdate/redir/Muauth.cab
    2012-01-07 09:52:27:625 1428 1654 Misc validation signature for C:\WINDOWS\SoftwareDistribution\AuthCabs\authcab.cab:
    2012-01-07 09:52:27:625 1428 1654 Misc Microsoft signed: Yes
    2012-01-07 09:52:27:703 1428 1654 Misc validation signature for C:\WINDOWS\SoftwareDistribution\AuthCabs\authcab.cab:
    2012-01-07 09:52:27:703 1428 1654 Misc Microsoft signed: Yes
    2012-01-07 09:52:27:703 1428 1654 Misc validation signature for C:\WINDOWS\SoftwareDistribution\AuthCabs\authcab.cab:
    2012-01-07 09:52:27:734 1428 1654 Misc Microsoft signed: Yes
    The service properties 2012-01-07 09:52:27:828 4560 1630 DtaStor update: registered with AU service is {7971F918-A847-4430-9279-4A52D1EFE18D}
    2012-01-07 09:53:50:281 1428 1654 Agent * WARNING: exit code = 0x8007000E
    2012-01-07 09:53:50:281 1428 1654 Agent *.
    2012-01-07 09:53:50:281 1428 1654 Agent * END * Agent: finding updates [CallerId = MicrosoftUpdate] of
    2012-01-07 09:53:50:281 1428 1654 Agent *.
    2012-01-07 09:53:50:281 1428 1654 Agent WARNING: customer WU didn't search for the update with error 0x8007000e
    2012-01-07 09:53:50:296 496 518 COMAPI > COMAPI - RECOVERY -: search [ClientId = MicrosoftUpdate]
    2012-01-07 09:53:50:296 496 518 COMAPI - updates found = 0
    2012-01-07 09:53:50:296 496 518 COMAPI - WARNING: exit code = 0x00000000, result code = 0x8007000E
    2012-01-07 09:53:50:296 496 518 COMAPI-
    2012-01-07 09:53:50:296 496 518 COMAPI - END--COMAPI: search [ClientId = MicrosoftUpdate]
    2012-01-07 09:53:50:296 496 518 COMAPI-
    2012-01-07 09:53:50:296 496 9 a 4 COMAPI WARNING: operation failed because the previous error, hr = 8007000E
    2012-01-07 09:53:50:296 496 9 a 4 COMAPI FATALE: impossible search asynchronous complete. (hr = 8007000E)
    2012-01-07 09:53:55:296 1428 1654 report REPORT EVENT: {D9F17968-B8BC-481E-AA08-5EDA6B57B321} 2012-01-07 09:53:50:234 - 0500 1 148 101 {00000000-0000-0000-0000-000000000000} 0 8007000e MicrosoftUpdate software synchronization failure Windows Update Client did not detect with error 0x8007000e.

    Hello

    ·         What are the troubleshooting steps you have tried?

    ·         You try to install Windows update? If you try to install Windows update then update you are trying to install?

    ·         What is the exact error message?

    Response with above information to better help you.

    I suggest you follow the steps in the link and check if the problem persists:

    http://Windows.Microsoft.com/en-us/Windows7/Windows-Update-error-80070008-or-8007000e

    Note: this link is also applicable for Windows XP.

  • VMware Fusion 7 and VMware Tools - leak memory in Debian comments

    At some point during my updates from Mac OS X to Yosemite, VMware Fusion to 7.x and my Debian a guest to 8.0 "Jessie" on my 2012 Mackbook Pro, leaking memory of the Linux kernel is developed.  If I follow these steps, then I'd lose soon about 3 GB memory of the core area.

    1. Install Debian Jessie in a new machine virtual de VMware Fusion
    2. Install open-vm-tools or VMware Tools bundled.
    3. Perform an intensive IO as operation simply cat/dev/zero |-c 1000000000 head >/tmp/test.txt.
    4. Smem - wtk and see ~ 3 GB memory under the dynamics of the kernel memory, benefit.

    I opened the 15709682007 assistance request and the representative said that they will fix the problem in a future release. In the meantime, I have what seems to be a workaround for someone else that is affected.  Basically, pulling packages from backports jessie seems to have solved the problem.  This is based on the comments added to open-vm-tools.

    1. Add the Debian repository -backports jessie in /etc/apt/sources.list
    2. sudo apt - get update; sudo apt - get install t Jessie-backports open-vm-tools-dkms open-vm-Tools-Office
    3. sudo apt - get - t jessie-backports dist-upgrade (install kernel 4.1)
    4. Restart comments

    A few quick thoughts:

    1. If you have several virtual machines (or other programs) running on your computer host and VMware Fusion detects that there is memory pressure on your host computer, it uses the "balloon" (vmw_balloon for the latest distributions of Linux) Guest pilot to fly some memory of the guest OS.  This memory "stolen" would appear as memory Dynamics non-cache kernel inside the guest.  Running "sudo rmmod vmw_balloon" should release all memory climbed to the guest OS.  Note that using the balloon driver generally improves the performance of the guest and host, despite the appearance of fear "used memory" inside the guest-"used memory" is just a thing of accounting that we had to use in order to change the priority of the memory between the host and the guest.  It is not "used" in the conventional sense of the term.

    2. I believe that recent versions of virtual hardware non-cache dynamic kernel allocate the necessary memory for SVGA and 3D features (display RAM, texture RAM, etc.).  Disable graphic 3D acceleration or by reducing the amount of graphics shared memory if you are using a new version of virtual hardware (both in the VM > settings... > display) might help.  Decommissioning of a virtual equipment as early (in the VM > settings... > compatibility) can also help.

    See you soon,.

    --

    Darius

  • BIAPPS 11.1.8.1 installation hangs at 0% "Copying files stage 5 of 6 ' under Linux

    Hello

    We are trying to install BIAPPS 11.1.1.8.1 on a Linux system, based on the steps on the installation document link

    https://docs.Oracle.com/CD/E38317_01/doc.11117/e35981/install.htm

    , we proceeded to the stage where you want to install the

    3.3.3 Installing Applications of BI to Oracle using the Business Analytics application Suite Installer.

    Problem: While run us the following command under linux

    . / runInstaller - jreLoc < jdk or jrockit location >

    We are able to move to the stage where provide us the path of the middleware for installation, however once that the ' Copying files stage 5 of 6 "starts and the percentage of installation = 0%. The installation does not any more (screenshot attached). We carried out the following checks

    1. check the necessary Variables

    2 DB, Weblogic, the servers are all running

    3. check if there is any folder created as part of this installation = NO

    Please advice as to what could be the problem

    The log file excerpt:

    *****************************************************************************************

    IAppsInstallAction

    [2014-11 - 10T 23: 17:45.543 + 05:30] [as] [WARNING] [] [oracle.as.install.bi] [tid: 13] [ecid: 0000KaQoJpEFw000jzwkno1KOFcW000004, 0] error in renaming/u01/Oracle1/Middleware/Oracle_BI2/inventory/Scripts/ext/jlib in/u01/Oracle1/Middleware/Oracle_BI2/inventory/Scripts/ext/jlib_platform

    [2014-11 - 10T 23: 17:45.543 + 05:30] [as] [WARNING] [] [oracle.as.install.bi] [tid: 13] [ecid: 0000KaQoJpEFw000jzwkno1KOFcW000004, 0] error in renaming/u01/Oracle1/Middleware/Oracle_BI2/inventory/Scripts/prereq in/u01/Oracle1/Middleware/Oracle_BI2/inventory/Scripts/prereq_platform

    [2014-11 - 10T 23: 17:45.596 + 05:30] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 13] [ecid: 0000KaQoJpEFw000jzwkno1KOFcW000004, 0] Version of oracle.bi.biapps in the home of oracle: / u01/Oracle1/Middleware/Oracle_BI2 is: null

    [2014-11 - 10T 23: 17:45.609 + 05:30] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 13] [ecid: 0000KaQoJpEFw000jzwkno1KOFcW000004, 0] Version of oracle.bi.biappsshiphome in the home of oracle: / u01/Oracle1/Middleware/Oracle_BI2 is: null

    [2014-11 - 10T 23: 17:45.616 + 05:30] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 13] [ecid: 0000KaQoJpEFw000jzwkno1KOFcW000004, 0] Version of oracle.bi.biappsinst in the home of oracle: / u01/Oracle1/Middleware/Oracle_BI2 is: null

    [2014-11 - 10T 23: 17:45.672 + 05:30] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 13] [ecid: 0000KaQoJpEFw000jzwkno1KOFcW000004, 0] Version of oracle.bi.biappsshiphome in the shiphome: / u01/software/biapps/biappsshiphome is: 11.1.1.8.1

    *****************************************************************************************

    Hello

    According to the document

    Oracle home directory

    Specify the Oracle Home for BI, for example, Oracle_BI1. Do not specify any other Oracle home or choose to create a new. Oracle home for the BI directory is where the binaries of software for Oracle BI Applications and operational planning Applications must be installed.

    could you please make sure that it is only on Oracle Home

  • Leaks memory in combobox, dropdown and listbox

    Hello

    Does anyone know if leaks memory in the combobox, dropdown and listbox widgets bugs have been fixed in CP 6? Or where can I find out the correction of bugs/problems?

    Thank you.

    Ago

    I just ran some tests and all three components seem to be safe from leaks memory.  Even if they had no memory leaks, Cp 6 now creates and destroys the slides that you see them giving you the best possible way to manage memory.  Basically, he cleans up after himself.  Kudos to the Adobe Captivate development team to resolve this!

    Jim Leichliter

Maybe you are looking for

  • disable unwanted videos

    Videos unwanted Web sites are driving me crazy! Is it possible to disable them so that they don't start without my permission? Some are ads and some are news channels. Thanks for any suggestions you may have.

  • Increase font size in tools/options/content of breaks some Web pages.

    After that I bought a flat screen with 1920 x 1080 resolution, the text was so low on most of the pages that I couldn't read. (Fonts currently fashionable 'Cannes squiggles' product does not help either.) Thus, under the menu Tools/options/content of

  • Cannot use recovery media - bad machine - Satellite A55-S106

    Hello My laptop recently got the blue screen of death and had to reformat my laptop. I jumped the drive and much to my surprise he told me bad machineeven if it's the drive that came with it when I bought it. Now I don't know what to do any suggestio

  • Apple sends emails about Apple IDs that are about to expire?

    Got an email from Apple (I think) that my ID apple was about to expire and I need to tell Apple by clicking on a link to extend my account, it's spam?

  • Control the execution of different threads in TestStand

    Hi all I'm trying to control multiple threads in a sequence file.  I have if I'd be able to use the following ThisContext.Thread.Execution and then terminate / break / etc as you wish. I'm starting a new sequence threaded in the process configuration