Hi > assume its possible because both functions (copy selected features& > copy selected layer) are differently initialized.. so they follow > different processing paths. I should have analysed the problem a bit before filling the bug tracker. Now I think this is not really a memory leak, and there may not be one solution for all. Not sure it's worth a lot of efforts. Another approach would be to have buttons to empty temporary data (we already have a garbage collection button, other candidates would be "empty clipboard", "empty undo chain"...)
Michaël >> stefan >> >> On 01/02/2012 8:30 AM, Rahkonen Jukka wrote: >>> Hi, >>> >>> One may want to make subsequent copies from a selected feature, like >>> building footprints. Would it be possible to keep the the clipboard when >>> doing Copy selected features but clean it after Copy layers? >>> >>> -Jukka Rahkonen- >>> >>>> -----Alkuperäinen viesti----- >>>> Lähettäjä: SourceForge.net [mailto:[email protected]] >>>> Lähetetty: 1. helmikuuta 2012 1:23 >>>> Vastaanottaja: SourceForge.net >>>> Aihe: [JPP-Devel] [ jump-pilot-Bugs-3482348 ] Memory leak in >>>> copy/paste layer >>>> >>>> Bugs item #3482348, was opened at 2012-01-31 13:58 >>>> Message generated for change (Comment added) made by mentaer >>>> You can respond by visiting: >>>> https://sourceforge.net/tracker/?func=detail&atid=679906&aid=3 >>> 482348&group_id=118054 >>>> Please note that this message will contain a full copy of the >>>> comment thread, >>>> including the initial issue submission, for this request, >>>> not just the latest update. >>>> Category: OpenJUMP - Menu - Layer >>>> Group: None >>>> Status: Open >>>> Resolution: None >>>> Priority: 5 >>>> Private: No >>>> Submitted By: michael michaud (michaudm) >>>> Assigned to: michael michaud (michaudm) >>>> Summary: Memory leak in copy/paste layer >>>> >>>> Initial Comment: >>>> Step to show the memory leak : >>>> add a layer ( -> 300 Mb) >>>> copy the Layer (-> 600 Mb) >>>> paste the Layer (-> 900 Mb) >>>> delete both Layers ( -> 300 Mb) >>>> >>>> >>>> >>>> ---------------------------------------------------------------------- >>>> >>>>> Comment By: mentaer (mentaer) >>>> Date: 2012-01-31 15:23 >>>> >>>> Message: >>>> not schemas - layer styles! ;) >>>> >>>> ---------------------------------------------------------------------- >>>> >>>> Comment By: mentaer (mentaer) >>>> Date: 2012-01-31 15:20 >>>> >>>> Message: >>>> or we allow only one copy& paste action.. and can clean-up >>>> the copy then >>>> (remove from the clipboard). The only time I copy& pasted >>>> several times >>>> was for schemas... Never for layers. And just doing the same procedure >>>> several times isn't such a big issue from my perspective. >>>> >>>> stefan >>>> >>>> ---------------------------------------------------------------------- >>>> >>>> Comment By: michael michaud (michaudm) >>>> Date: 2012-01-31 14:10 >>>> >>>> Message: >>>> OK, not sure this is a bug. >>>> That's how the cliboard works : >>>> - make a deep copy in the clipboard (independant from the source) >>>> - keep it in the clipboard so that one can make several paste >>>> (another deep >>>> copy) >>>> >>>> As a workaround, if you want to empty the clipboard, just >>>> copy an empty >>>> layer >>>> Not sure there is something better to do. >>>> >>>> Any idea ? >>>> >>>> Michaël >>>> >>>> ---------------------------------------------------------------------- >>>> >>>> You can respond by visiting: >>>> https://sourceforge.net/tracker/?func=detail&atid=679906&aid=3 >>> 482348&group_id=118054 >>>> -------------------------------------------------------------- >>>> ---------------- >>>> Keep Your Developer Skills Current with LearnDevNow! >>>> The most comprehensive online learning library for Microsoft >>>> developers >>>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, >>>> CSS3, MVC3, >>>> Metro Style Apps, more. Free future releases when you subscribe now! >>>> http://p.sf.net/sfu/learndevnow-d2d >>>> _______________________________________________ >>>> Jump-pilot-devel mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >>>> >>> ------------------------------------------------------------------------------ >>> Keep Your Developer Skills Current with LearnDevNow! >>> The most comprehensive online learning library for Microsoft developers >>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >>> Metro Style Apps, more. Free future releases when you subscribe now! >>> http://p.sf.net/sfu/learndevnow-d2d >>> _______________________________________________ >>> Jump-pilot-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> ------------------------------------------------------------------------------ >> Keep Your Developer Skills Current with LearnDevNow! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-d2d >> _______________________________________________ >> Jump-pilot-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> >> > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Jump-pilot-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Jump-pilot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
