Mkmapview on zoom in or zoom out consumes lot of memory

Hello,
In my application i am using mkmapview as the main view and showing images (around 75 images) on the map by annotation.
on zoom in or zoom out mapview consumes lot of memory and after some time it recives memory warning then application gets crash.
any suggestion for that.
Thank u in advance.

Place the property node inside a case structure and enable it when the iteration terminal is "1". (not zero!)
And please place a small wait inside your loop, there is no reason it should spin that fast. (Since the data never changes in your example, the entire graph terminal and inner loops belong outside the main while loop. However, I assume that your real application is different )
NOTE: you could also use the "first run?" primitive or enable it when [i]=0, but in this case you would need a small sequence structure to ensure it happens after ther graph terminal is written for the first time.
Also note that xy graphs take complex data, simplifying the wiring and data structures.
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • Flash builder 4.7 consuming lot of memory in VMware VDI environment.

    Flash builder 4.7 consuming lot of memory in VMware VDI environment. When we debugg the application then it is throwing out of memory exception. We need to close and relaunch Flash builder IDE numerous times. Can you please help us with setting changes we need to make for flash builder or VMware VDI environment so that we can resolve this issue?

    Hi Atul_Saini,
    So I checked your link and all seems correct on my computer.
    At the bottom of the link you provided there is "see also" section, about activation / deactivation.
    I did not deactivated my licenses before my window re-install, and if now I go to Flash Builder -> Help , desactivation button is greyed out. Could it be the source of my problem that I used my licenses on two computer and did not deactivated them ?
    If yes, how could I deactivate thoses products ? I searched on my profile but I can't find a way to do it.

  • Component controller is consuming lots of memory

    Hi All,
    I have an WebDynpro application and a component controller (MyCompController) too where I have written most of the business specific code. The basis team informed that the component controller (MyCompController) is consuming lots of memory.
    Could anybody suggest me how to takle this problem. I dont have any other details and I am new to handle this kind of activity.
    Thanks & Regards,
    Patana

    Hi Patana
    Your controller can consume lots of memory because of lots of unnecessary data is loaded in advance and do not used actually. Try to analyze the following points:
    1. Unnecessary data is loaded into the context nodes in advance. Do not load all the data into the context in wdInit() method (do not fill in all the models too). This is not the right way. Instead try to use supply-functions for each context node with data. Supply-function will be called by Webdynpro automatically only when the data is actually required to be shown on UI.
    2. Unnecessary embedded Webdynpro components are created and loaded in memory in advance. Do not create embedded Webdynpro components manually in wdInit() method. Instead try to setup component usages with Create Mode option = OnDemand. Then Webdynpro will create the components automatically when this is really required.
    BR, Sergei

  • Oracle.exe consuming lots of memory

    hi
    i am using Oracle 10g release2
    after installation, when i'm booting my system (Windows XP) it takes a lot of time to finish all the files to load. when i inspected the task manager, there were 2 instances or oracle.exe running each consuming approximately 200,000K each. i feel like this particular thing is slowing down the system. what are ur suggestions please ? if actually its the problem, what is the solution u propose ?

    user10434417 wrote:
    there are 2 databases running and i've 2GB RAM in my system2gb RAM is awefully lesser compared to the current version's requirements of oracle. Also, I believe you must have not modified the sga/pga settings as well since the default values are very high. I would suggest that you try to check the sga/pga sizes and reduce them to the minimum which is 160MB for the SGA and 91MB for PGA if these databases are merely for testing/learning.
    HTH
    Aman....

  • Flash 8 Application consuming lots of Memory!!

    Hi There,
    I just developed an Application using Flash 8 Professional.
    Unfortunately Im finding a bad memory usage when i run the
    Application. Visual Studio acts as the container for the SWF. The
    memory usage rises upto 80% and its really not acceptable.
    The application is an e-learning software with heavy graphics
    and animations. Is it because I have a lot of images and
    animations? because in the code I just have a maximum of 12 sound
    objects, which I have not deleted upon exit. Sould I optimize the
    code used? I mean the parts that involves "=new object( )"?
    If the problem is with graphics, is there any alternate way
    to adjust it?

    you aren't going to get too much help without someone looking
    at your project.
    however, if your movieclips remain stationary on-stage or
    only change their _x and _y properties, you can enable their
    cacheAsBitmap properties and realize a substantial performance
    benefit.

  • How to open,view pdf document in a form with zoom in and zoom out functionality Please urgent

    Hi
    Anybody can help me with a sample code in c# to open a pdf document using forms and to give the functionality   zoom in and zoom out   with verticall and horizontal scroll bar. Please help
    Regards
    Pol
    polachan

    Hello polachan,
    you can find two sample projects with code at
    [1] and
    [2].
    [1]
    http://www.codeproject.com/Articles/579878/MoonPdfPanel-A-WPF-based-PDF-viewer-control
    [2]
    http://www.gnostice.com/nl_article.asp?id=159&t=How_To_Create_A_PDF_Viewer_in_PDFOne_NET_v2_x
    Regards,
    Bo Liu
    Developer-Hotline for MSDN Online Germany
    Disclaimer:
    Please take into consideration, that further inquiries cannot or will be answered with delay.
    For further information please contact us per telephone through the MSDN-Entwickler-Hotline:
    http://www.msdn-online.de/Hotline
    For this post by the MSDN-Entwickler-Hotline the following terms and conditions
    apply: Trademarks,
    Privacy
    as well as the separate
    terms of use for the MSDN-Entwickler-Hotline .

  • Make table of contents links keep current zoom level, not zoom out to full page

    When Indesign creates tables of contents, they automatically link to the paragraphs the links point to, so that in an interactive PDF, clicks and prods take the user to that page. Great.
    What's not so great is, that the hyperlinks / cross-references / jump-links / whatever that are created behind the scenes within the table of contents appear to:
    ...be automatically set to reset the zoom to full page width
    ...not be editable in any way
    Normal cross references retain the zoom level that the user has chosen, and normal hyperlinks that point to a page in the document have a range of settings about what zoom level change (if any) should be imposed on the user, which can be set to 'inherit zoom'.
    How do I set up a table of contents that doesn't annoy users by resetting their chosen zoom level to an artitrary default when they use the interactive table of contents?
    I'm really hoping I don't have to ditch Indesign's table of contents feature and create every cross reference manually.

    (editted) So it turns out that you can 'expand' a table of contents by copying and pasting it - this fills the hyperlinks panel with links that can be editted (like above) but breaks the auto-update - they're no longer a TOC, they're just a text frame full of links. (I had got different copies mixed up when I thought the frame holding the editable links was also auto-updating)
    The greying out of the links was a red herring, just something to do with the fact they were on a master page.
    It does mean that one possible TOC workflow is:
    Create a TOC on the pasteboard somewhere.
    Before finalising the document, update this TOC and alt-drag the 'live' TOC creating an editable 'dead' copy in an appropriate place in the document
    Edit the link properties of the links in the 'dead' copy (don't forget that you can select multiple hyperlinks at once by holding down shift, and edit things like the Zoom Setting all at once with Hyperlink Options in the Hyperlinks flyout menu. )
    Then, if you make other changes to the document later on, delete the dead copy, update and re-copy the live original, and re-do the changes to the new copy
    This isn't a bad method - it just adds about a minute's work each time you export a PDF (delete, update TOC, alt-drag, shift-select the new batch of .XXXX links at the bottom of the Hyperlinks panel, > Hyperlink Options, Zoom Setting  > Inherit Zoom, done).
    Alternatively, you could manually build a TOC using cross-references if you want links to the exact position on the page, not just the top of the appropriate page.

  • Even after turning ON Reduce motion the icons and the windows and the apps zoom motion in and out is still giving me a lot of head ache and dizziness and motion sickness... Please fix it!!

    Even after turning ON Reduce motion the icons and the windows and the apps zoom motion in and out is still giving me a lot of head ache and dizziness and motion sickness... Please fix it!!

    hi i had the same problem today when i updated my itunes to latest version. however, i have just found my songs in the 'itunes media' folder. this was accessed through 'my music'  then keep clicking through until you find itunes media and all my library songs were in there and i then just added these files to my library and all were restored however, i have lost all my playlists but at least my 700 songs are back. very dissapointed with apple that they have let this happen with their latest update, the previous version was miles better than this one . hope you find them. stevo

  • Problem in getting the image coordinates  when i zoom in or zoom out

    Hi,
    i have doubts with scaling (Zoom in and Zoom out) using following code but when i zoom in want to get the x and y coordinates but im getting resized coordinates , pls do the needful
    public class TiffTest extends JFrame implements MouseListener
    public TiffTest(String filename)
    RenderedImage source= JAI.create("fileload",filename);
    SubsampleBinaryToGrayDescriptor sb=new SubsampleBinaryToGrayDescriptor();
    RenderingHints rh=new RenderingHints(RenderingHints.KEY_ANTIALIASING,RenderingHints.VALUE_ANTIALIAS_DEFAULT);
    RenderedOp op=sb.create(source,new Float(0.5),new Float(0.5),rh);
    JScrollPane scrollPane = new JScrollPane();
    displayjai dj=new displayjai(op);
    scrollPane.setViewportView(dj);
    getContentPane().add(scrollPane,BorderLayout.CENTER);
    int screen_width=(int)this.getToolkit().getScreenSize().getWidth();
    int screen_height=(int)this.getToolkit().getScreenSize().getHeight();
    setVisible(true);
    setSize(screen_width,screen_height);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    setExtendedState(JFrame.MAXIMIZED_BOTH);
    dj.addMouseListener(this);
    JAI.create("filestore",dj.ima,"god.tif","TIFF");
    public static void main(String s[])
    new TiffTest("1_org.tif");
    public void mouseClicked(MouseEvent e){System.out.println(e.getX()+","+e.getY());}
    public void mousePressed(MouseEvent e){}
    public void mouseReleased(MouseEvent e){}
    public void mouseEntered(MouseEvent e){}
    public void mouseExited(MouseEvent e){}
    class displayjai extends DisplayJAI
    RenderedOp ima;
    public displayjai(RenderedOp inputImage)
    super(inputImage);
    ima=inputImage;
    setPreferredSize(new Dimension(ima.getWidth(),ima.getHeight()));
    System.out.println(inputImage.getWidth()+","+inputImage.getHeight());
    Thankx
    Kannan

    hi all,
    I am getting the image from the server.but the problem is i am getting the Exception as ArrayOutOfBound exception.
    It was displaying the Image for the first time.and when ever it was going for the second time in to the paint method it was displaying the IOException in reading the stream from the connection.
    can anybody give me the solution in rectifying that exception.
    thanks in advance
    lakshman

  • Panel content zoom in and zoom out

    I have created a panel  by using flex 4.5.1.But while increasing and decreasing  panel size content of panel also zoom in and zoom out respectively.But i dont want this functionality.Is there any way to overcome these problem?

    thnx..
    I have included above mentioned compiler argument but it works as before it work.There is no change in zoom_in, zoom_out functionality.

  • Stopping Zoom in and Zoom out of pictures

    I can't seem to find where I turn off the Zoom in and Zoom out features in iMovie related to pictures.
    Where or what I have to do to turn this feature off..
    Thanks

    Hi Douglas,
    Thanks for visiting Apple Support Communities.
    It does look like this is the default behavior for imported pictures in iMovie 10, and can't be disabled from the iMovie preferences. The best workaround is to select all of the pictures in your timeline and turn off the Ken Burns effect using the Adjust menu.
    iMovie Help
    http://help.apple.com/imovie/mac/10.0/#mov26d3f6a6c
    Modify a crop, rotation, or Ken Burns effect
    In the timeline, select the photos you want to modify or restore to their original state.
    Click the Adjust button in the toolbar.
    The adjustments bar appears above the clip in the viewer.
    To show the cropping controls, click the Cropping button.
    In the cropping controls, change Style from Ken Burns to Fit to display the pictures in their original size. From there, you can crop them individually as needed.
    Best,
    Jeremy

  • How do I zoom in or zoom out the camera?

    How do I zoom in or zoom out on the Facetime camera?

    The FT cam has a fixed focal length.  It does not zoom.  You can approximate the effect by moving the Mac closer or farther away.
    Click here -> for "iGlasses" add-on software that can offer digital zoom as well as give you manual control of several of your cam's functions.
    Message was edited by: EZ Jim
    Mac OSX 10.8.3

  • TileLayout spark Item Renderer and Zoom in and zoom out

    I implemented a spark ItemRenderer, which serves a DataGroup with TileLayout:
        <s:Border id="scrollView"
                  styleName="scrollView"
                  width="100%"
                  height="100%">
            <s:filters>
                <s:DropShadowFilter inner="true"
                                    alpha=".35"/>
            </s:filters>
            <s:Scroller id="continuousViewScroller"
                        height="100%"
                        width="100%">
                <s:DataGroup id="continuousView"
                             height="100%"
                             width="100%"
                             itemRenderer="PageRenderer"
                             dataProvider="{pages}">
                    <s:layout>
                             <s:TileLayout columnAlign.OneUpView="justifyUsingWidth"
                             columnAlign.TwoUpView="left"
                             verticalGap="10"
                             horizontalGap.TwoUpView="10"
                             horizontalAlign="center"
                             verticalAlign="top"
                             useVirtualLayout="true"
                             clipAndEnableScrolling="false"
                             requestedColumnCount.OneUpView="1"
                             requestedColumnCount.TwoUpView="2"/>
                        <!--
                        <s:VerticalLayout horizontalAlign="center"
                                          useVirtualLayout="true"
                                          clipAndEnableScrolling="false"
                                          variableRowHeight="true"
                                          paddingTop="5"
                                          paddingBottom="5"
                                          requestedRowCount="2"/>
                        -->
                    </s:layout>
                </s:DataGroup>
            </s:Scroller>
        </s:Border>
    I execute a zoom effect everytime some one pushes zoom in or zoom out buttons. The trouble is that zoom in and zoom out works fine. However, the gap between two item renderers increase, when I zoom out.
    Is there a way that the gap remains fixed?

    Zoom in means, within the PageRenderer, I use a Scale effect, which zooms in and out based on an event. The following code is for doing zoom in and zoom out for the PageRenderer. It works fine. However, the vertical/horizontal gaps increases once have a zoomed in and then try to zoom out incrementally. I want to keep the gap between elements same all the time.
    If I run this same code, with VerticalLayout, It works great. However, this does not work with TileLayout.
    The following link:
    http://opensource.adobe.com/wiki/display/flexsdk/Spark+TileLayout
    says:
    "Note that justify only grows the columnWidth/rowHeight, so to handle cases where the size of the columns/rows has to shrink, the default column width/row height should set explicitly to zero."
    Does anyone has any idea how to implement this?
    Source Code for zoom in and zoom out:
    <s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:s="library://ns.adobe.com/flex/spark"
                    xmlns:mx="library://ns.adobe.com/flex/halo"
                    creationComplete="init()">
        <fx:Declarations>
            <s:Scale target="{this}" id="zoomPlayer"  duration="150" />
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import mx.core.FlexGlobals;
                import mx.events.EffectEvent;
                private var _zoom:Number=1.0;
                [Bindable]
                public function set zoom(value:Number):void
                    _zoom=value;
                public function get zoom():Number
                    return _zoom;
                private function init():void
                    var proj:TestProject=FlexGlobals.topLevelApplication as   TestProject;
                    proj.systemManager.addEventListener(ZoomEvent.ZoomChange, updateZoom);
                private function updateZoom(event:ZoomEvent):void
                    if(zoom != event.zoom){   
                        if(zoomPlayer.isPlaying){
                            zoomPlayer.stop();
                        zoomPlayer.addEventListener(EffectEvent.EFFECT_END, zoomEnd);
                        zoomPlayer.scaleXFrom=zoom;
                        zoomPlayer.scaleXTo=event.zoom;
                        zoomPlayer.scaleYFrom=zoom;
                        zoomPlayer.scaleYTo=event.zoom;
                        zoomPlayer.play();
                        zoom=event.zoom;
                private function zoomEnd(event:EffectEvent):void{
                    zoomPlayer.removeEventListener(EffectEvent.EFFECT_END,zoomEnd);

  • I am unable to zoom in or zoom out unless in full screen mode. I have tried with both my scroll mouse and with CRTL - and +

    I am unable to zoom in or zoom out unless in full screen mode. I have tried using my scroll mouse and also using CTRL - or +. This is only in Firefox. it works in IE.

    Some gestures have been removed in Firefox 4 and later.
    You can restore the zoom feature by changing the values of the related prefs on the <b>about:config</b> page.
    browser.gesture.pinch.in -> <b>cmd_fullZoomReduce</b>
    browser.gesture.pinch.in.shift -> <b>cmd_fullZoomReset</b>
    browser.gesture.pinch.out -> <b>cmd_fullZoomEnlarge</b>
    browser.gesture.pinch.out.shift -> <b>cmd_fullZoomReset</b>
    browser.gesture.pinch.latched -> <b>false</b>
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold(user set).
    *Preferences can be reset to the default or changed via the right-click context menu.

  • What happened to zoom in and zoom out selection, so you could make the screen zoom in and out?

    I added zoom in and zoom out to my yahoo toolbar and from one of the sites that let you pick buttons to add to your toolbar, and now it has disappeared. And I can not find zoom anywhere. Have you heard of this happening before? If so do you have a resolution for this? Thanks in advance. Dan

    You seem to be using a Firefox 23.0a1 Nightly build.
    Please update to the current Firefox 24 release.
    *Help > About Firefox
    *https://support.mozilla.org/kb/update-firefox-latest-version.
    *https://support.mozilla.org/kb/Updating+Firefox
    The Firefox version that you currently run is no longer supported with security updates.
    *It is important to update Firefox and add-ons to the latest version to get all security fixes.
    Make sure that toolbars like the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible.
    *Firefox menu button > Options
    *View > Toolbars (press F10 to display the menu bar)
    *Right-click empty toolbar area
    Use Toolbar Layout (Customize) to open the Customize window and set which toolbar items to display.
    *if missing items are in the toolbar palette then drag them back from the Customize window on the toolbar
    *if you do not see an item on a toolbar and in the toolbar palette then click the "Restore Default Set" button to restore the default toolbar setup
    *https://support.mozilla.org/kb/How+to+customize+the+toolbar
    *https://support.mozilla.org/kb/Back+and+forward+or+other+toolbar+items+are+missing

Maybe you are looking for

  • Solution landscape doesn't appear in Solution Manager Diagnostics

    Dear all, I have configured 6 Solution Landscapes in transaction solution_manager. One for ECC5, one for PI 7.0, one for BI 7.0, one for Solution Manager 7.0, one for SRM 4.0 and finally one for NW 04 Portal. When I go to my Solution Manager Diagnost

  • I wanna be an apple reseler

    i wanna know whats the criteria to become an apple reseller or rep in senegal

  • Future of interMedia

    Hi, I have a working application that stores image data in a column of type BLOB. The application is written in Perl. I was searching on Google and found out about Oracle interMedia and the ORDSYS, ORDIMAGE and related data types. However, I can't fi

  • Where can I find the 11g XE client conectivity libraries for download?

    Hi to all, I'm new to Oracle and I have already installed the Oracle Database Express Edition 11g server and now I want to test connections from client PCs but I can't find de client libraries installer for this edition. In the online documentation I

  • Configuration changes - OIA OIM Integration

    Hi, We would like to know if there are any configuration changes that needs to be applied apart from the ones mentioned in the system integration guide for Integrating OIA with OIM with respect to the iam-context.xml and the workflow xml files Thanks