runs out of memory on WAComponent>>call:

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

runs out of memory on WAComponent>>call:

Gary Peterson
Hi Group,
 
Must be doing something wrong here; seems it should be simple.
 
1) objects
MyWhole
 partA
 partB
 
2) on certain action we do this:
call: partA
 
3) page opens on partA
-- everything is good
 
4) on certain action we do this:
call: parent (note that parent is 'MyWhole' from simple object above)
--> runs out of memory?
 
Any suggestions always appreciated.
 
Thank you,
 
Gary

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: runs out of memory on WAComponent>>call:

Boris Popov, DeepCove Labs (SNN)

Gary,

 

Instead of #call:’ing the parent from partA, you should simply #answer(:) from your partA component to return control to instance of MyWhole. This would also help you decouple your components, because partA wouldn’t need to know who the caller was.

 

Hope this helps,

 

-Boris

 

--

DeepCove Labs Ltd.

+1 (604) 689-0322

4th floor, 595 Howe Street

Vancouver, British Columbia

Canada V6C 2T5

http://tinyurl.com/r7uw4

 

PacNet Services (Europe) Ltd.

+353 (0)61 714-360

Shannon Airport House, SFZ

County Clare, Ireland

http://tinyurl.com/y952amr

 

CONFIDENTIALITY NOTICE

 

This email is intended only for the persons named in the message header. Unless otherwise indicated, it contains information that is private and confidential. If you have received it in error, please notify the sender and delete the entire message including any attachments.

 

Thank you.

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Gary Peterson
Sent: 19 January 2011 08:33
To: [hidden email]
Subject: [vwnc] runs out of memory on WAComponent>>call:

 

Hi Group,

 

Must be doing something wrong here; seems it should be simple.

 

1) objects

MyWhole

 partA

 partB

 

2) on certain action we do this:

call: partA

 

3) page opens on partA

-- everything is good

 

4) on certain action we do this:

call: parent (note that parent is 'MyWhole' from simple object above)

--> runs out of memory?

 

Any suggestions always appreciated.

 

Thank you,

 

Gary


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: runs out of memory on WAComponent>>call:

Michael Lucas-Smith-2
In reply to this post by Gary Peterson
I take it MyWhole owns partA.. then partA is calling its owner? That'd probably cause an infinite loop, since call actually replaces the parent with itself.

Just a guess really.
Michael

On 19 January 2011 00:32, Gary Peterson <[hidden email]> wrote:
Hi Group,
 
Must be doing something wrong here; seems it should be simple.
 
1) objects
MyWhole
 partA
 partB
 
2) on certain action we do this:
call: partA
 
3) page opens on partA
-- everything is good
 
4) on certain action we do this:
call: parent (note that parent is 'MyWhole' from simple object above)
--> runs out of memory?
 
Any suggestions always appreciated.
 
Thank you,
 
Gary

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc



_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: runs out of memory on WAComponent>>call:

Gary Peterson
In reply to this post by Boris Popov, DeepCove Labs (SNN)
Yes, it sure did help. 
 
Thank you Boris & Michael L.S.
 
 
----- Original Message -----
Sent: Wednesday, January 19, 2011 3:41 AM
Subject: RE: [vwnc] runs out of memory on WAComponent>>call:

Gary,

 

Instead of #call:’ing the parent from partA, you should simply #answer(:) from your partA component to return control to instance of MyWhole. This would also help you decouple your components, because partA wouldn’t need to know who the caller was.

 

Hope this helps,

 

-Boris

 

--

DeepCove Labs Ltd.

+1 (604) 689-0322

4th floor, 595 Howe Street

Vancouver, British Columbia

Canada V6C 2T5

http://tinyurl.com/r7uw4

 

PacNet Services (Europe) Ltd.

+353 (0)61 714-360

Shannon Airport House, SFZ

County Clare, Ireland

http://tinyurl.com/y952amr

 

CONFIDENTIALITY NOTICE

 

This email is intended only for the persons named in the message header. Unless otherwise indicated, it contains information that is private and confidential. If you have received it in error, please notify the sender and delete the entire message including any attachments.

 

Thank you.

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Gary Peterson
Sent: 19 January 2011 08:33
To: [hidden email]
Subject: [vwnc] runs out of memory on WAComponent>>call:

 

Hi Group,

 

Must be doing something wrong here; seems it should be simple.

 

1) objects

MyWhole

 partA

 partB

 

2) on certain action we do this:

call: partA

 

3) page opens on partA

-- everything is good

 

4) on certain action we do this:

call: parent (note that parent is 'MyWhole' from simple object above)

--> runs out of memory?

 

Any suggestions always appreciated.

 

Thank you,

 

Gary


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc