Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Memory Analysis Session View: (4 Items)
   
Memory Analysis Session View  
I can't delete unused session in the Session View.  I can close them, and then when I try to delete it ( and I check and
 no debuggers are running )  I get an error:

Cannot delete session ....: Some application is holding resourcesassociated with this sessions, you can try to restart 
the IDE or reboot the machine to release it.

After restarting the IDE I can delete them.

My setup is Helios + 4.7.2.
Re: Memory Analysis Session View  
Did you close the editor before deleting them?

On 04/14/2011 12:34 PM, Mario Charest wrote:
> I can't delete unused session in the Session View.  I can close them, and then when I try to delete it ( and I check 
and no debuggers are running )  I get an error:
> 
> Cannot delete session ....: Some application is holding resourcesassociated with this sessions, you can try to restart
 the IDE or reboot the machine to release it.
> 
> After restarting the IDE I can delete them.
> 
> My setup is Helios + 4.7.2.
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post84989
> 
Re: Memory Analysis Session View  
> Did you close the editor before deleting them?
> 

I just tried doing  a Close All from the File Menu and no change.

> On 04/14/2011 12:34 PM, Mario Charest wrote:
> > I can't delete unused session in the Session View.  I can close them, and 
> then when I try to delete it ( and I check and no debuggers are running )  I 
> get an error:
> > 
> > Cannot delete session ....: Some application is holding resourcesassociated 
> with this sessions, you can try to restart the IDE or reboot the machine to 
> release it.
> > 
> > After restarting the IDE I can delete them.
> > 
> > My setup is Helios + 4.7.2.
> > 
> > 
> > 
> > _______________________________________________
> > 
> > General
> > http://community.qnx.com/sf/go/post84989
> > 


Re: Memory Analysis Session View  
> Did you close the editor before deleting them?
> 

Here is data from the log file:

!ENTRY com.qnx.tools.ide.mat.ui 4 4 2011-04-14 19:26:13.991
!MESSAGE Cannot delete session 'test1.exe (11-04-14 19:25)': Some application is holding resources associated with this 
session, you can try to restart the IDE or reboot the machine to release it.
!STACK 0
com.qnx.tools.ide.mat.core.model.MException: Cannot delete session 'test1.exe (11-04-14 19:25)': Some application is 
holding resources associated with this session, you can try to restart the IDE or reboot the machine to release it.
	at com.qnx.tools.ide.mat.internal.ui.action.DeleteAction$1.run(DeleteAction.java:79)
	at com.qnx.tools.ide.mat.internal.ui.action.DeleteAction$2.run(DeleteAction.java:91)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: com.qnx.tools.ide.mat.core.model.MException: Failed to delete: D:\helios\.metadata\.plugins\com.qnx.tools.ide
.mat.core\MAT1572891348680518620; It is being used by another program, restart eclipse and try again later
	at com.qnx.tools.ide.mat.internal.core.model.MModelManager.delete(MModelManager.java:210)
	at com.qnx.tools.ide.mat.internal.core.model.MSession.delete(MSession.java:67)
	at com.qnx.tools.ide.mat.internal.ui.action.DeleteAction$1.run(DeleteAction.java:73)
	... 2 more
Caused by: com.qnx.tools.ide.mat.core.collection.DataCollectionException: Failed to delete: D:\helios\.metadata\.plugins
\com.qnx.tools.ide.mat.core\MAT1572891348680518620; It is being used by another program, restart eclipse and try again 
later
	at com.qnx.tools.ide.mat.core.collection.impl.DerbyDataCollector.delete(DerbyDataCollector.java:110)
	at com.qnx.tools.ide.mat.internal.core.model.MModelManager.delete(MModelManager.java:207)
	... 4 more


> On 04/14/2011 12:34 PM, Mario Charest wrote:
> > I can't delete unused session in the Session View.  I can close them, and 
> then when I try to delete it ( and I check and no debuggers are running )  I 
> get an error:
> > 
> > Cannot delete session ....: Some application is holding resourcesassociated 
> with this sessions, you can try to restart the IDE or reboot the machine to 
> release it.
> > 
> > After restarting the IDE I can delete them.
> > 
> > My setup is Helios + 4.7.2.
> > 
> > 
> > 
> > _______________________________________________
> > 
> > General
> > http://community.qnx.com/sf/go/post84989
> >