How to unload MC from memory?
While running my app I need to create and kill MCs rapidly.
Now I use "stage.removeChild(...);" Is this method removes created
clip from memory, or they still stuck somewhere and eat my precious
memory until it runs out and hang player?
There is only mention I've found that's the removed MC must
not have any other reference to it, then it will be placed in GC
and disposed of. So the other question appears: How to monitor MC's
references? Some times it's really hard to keep in mind all of data
structure of an application. So, is there a way to get referrers
from an Object?
Similar Messages
-
How to unload QTVR from memory?
I have 15 QTVR movies in an external cast. Each is loaded
from a Flash button menu to a QT sprite(2) using 'showvideo', and
replaces the movie currently loaded to the sprite. Is there a way
to unload the previous QT from memory before the new one loads?
Here is the lingo for the 'showvid' function
on showvideo myvid
--** myvideo show
go to "showvid"
put myvid
put "before :"&sprite(2).member.name
sprite(2).member=member(myvid)
updatestage
sprite(2).node = 129
sprite(2).member.directtostage=1
put "After :"&sprite(2).member.name
end
Thanks BrianHi Brian,
Please try the
unload
function
HTH -
Unload widgets from memory (iPhone 6 16Gb - iOS 8.0.2
Hi guys,
I'm still getting acquainted with my new iPhone, and when I look at the processes running, I notice several widgets that I know I'll never use (Stocks is one of them).
I'd like to know how to unload them from memory, and prevent them from loading again if/when I need to restart my phone.
Ideas, anyone?If you get someone to reply to you, please let me know too. I have the similar problem. Thanks.
-
How to discard blocks from memory ?
Hi,
How to discard blocks from memory ?
Thank you.To add to what has already been posted. The full Oracle version should be included on all posts since many features and most bugs are version dependend.
Oracle will flush dirty blocks from the buffer cache and overlay unchanged blocks as needed to fit new requests to the buffer cache. It also reuses space in the shared pool so the question of which blocks you want to flush from memory and why can be important to getting the most appropriate answer to your questions.
On a production instance it should be unnecessary to manually flush either the buffer cache or shared pool as a normal part of opertations.
HTH -- Mark D Powell -- -
Hi All,
How to get the text from the memory for the corresponding line item in sales order.
there is a D.B table STXH which stores the text.
kindly explain from which of the fields we are used from the table STXH to get the text from memory,
if possible please send me the sample code
regards
krishnaHi,
You can use FM: READ_TEXT
Parameters you need pass for the FM are: Text Name, Text ID, Text Object and language.
Text Name will be the combination of Sales Order Number and Item Number
Text Object for Sales Item Texts is VBBP
Text ID is the ID that identifies the text
To get the ID, do as below:
1. Check an existing sales order
2. Double click on the text which takes you to the editor.
3. Use menupath: Goto->Header
4. In the popup screen you can find the TEXT ID
"Use the same for the FM
Regards
Eswar -
How to delete variable from memory
Hi,
I need to delete specfic session variables from memory. How
do I do this? What command?
Thanks.Individual keys can be deleted with the StructDelete function
<cfset StructDelete(session, "nameOfTheVariable")>
http://livedocs.adobe.com/coldfusion/7/htmldocs/00000637.htm -
How to get vbkey from memory?
When I push save button in the T-code CJ20N (project builder). I want to get the vbkey in my BADI. How can I do? Thanks a lot
Great appreciate for ur reply.
I'm sorry that maybe I am too stipuid that I am still confused.
I don't know the name of the GLOBAL VARIABLE and I only know that I want to get the vbkey from memory. Even I don't know for which memeroy ID I can get the vbkey value.
My msn is : [email protected]
Would you like to help me? I am so despair and helpless.
Thanks a lot. -
X2 how to copy files from memory card to phone?
I would like to copy a picture and a song from memory card to phone memory of my Nokia x2, but I don't know how to. If I take out memory card from the phone now the picture I chose as my screen background disapears I want to have it all the time on the screen no mater if the card is in or out of the phone.
I will be greatefull for adviseI do not have the cable to conect phone with my laptop I just bought this Nokia x2
and I dont know why but my bluetoth laptop conection isn't cooperating with the phone.
Is there a different way to copy these filesfrom memory card to memory of the phone?
On my old SamsungSGH 250E it was very easy to do?
How come a newer phone is so compicated? -
How to call list from memory after submitting RCS13001
Can anyone help me with this problem? I am submitting RCS13001 and using option exporting list to memory and return. It was successfully displayed the ALV list (which I don't want to see) and return to the caller program. Then when calling function list_from_memory, it short dumped/returned nothing. It seems that nothing is saved in the memory when submitting the program.
So what I want to get now is call RCS13001 and process the data, don't display the ALV report but save it in memory, and then collect the memory for output.
Any help is appreciated and points awarded. Thanks in advance
Regards,
Eric
Code:
SUBMIT ZRCS13001
WITH PM_MTNRV INCL v_matnr
WITH PM_WERKS INCL p_werks
WITH PM_STLAL INCL p_stlal
WITH PM_CAPID INCL p_capid
WITH PM_DATUV INCL p_datuv
WITH PM_EMENG INCL v_emeng
EXPORTING LIST TO MEMORY
AND RETURN.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
LISTOBJECT = alv_stb
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2Hi Eric,
Please check Rich's sample code.
report zrich_0003 .
data: begin of listout occurs 0,
line(1024) type c,
end of listout.
* Submit the report and export list to memory
submit z_your_report exporting list to memory
and return.
* Get list from memory and convert to ascii
perform retrieve_list_from_memory tables listout.
loop at listout.
write:/ listout.
endloop.
* RETRIEVE_LIST_FROM_MEMORY
form retrieve_list_from_memory tables reportlines.
data: list like abaplist occurs 0 with header line.
data: txtlines(1024) type c occurs 0 with header line.
clear list. refresh list.
clear reportlines. refresh reportlines.
call function 'LIST_FROM_MEMORY'
tables
listobject = list
exceptions
not_found = 1
others = 2.
check sy-subrc = 0.
call function 'LIST_TO_ASCI'
tables
listobject = list
listasci = txtlines
exceptions
empty_list = 1
list_index_invalid = 2
others = 3.
check sy-subrc = 0.
reportlines[] = txtlines[].
call function 'LIST_FREE_MEMORY'.
endform.
Also please check this link for more sample codes.
http://www.sapdevelopment.co.uk/reporting/rep_submit.htm
Regards,
Ferry Lianto
Please reward points if helpful. -
Flex Can Not Unload Applications From Memory! QED
Hi,
at work we are trying to load and unload Flex Applications from a long standing shell application. We have studied the appropriate documentation, especially this
http://livedocs.adobe.com/flex/3/loading_applications.pdf
but we have found that Flex simply will nor release memory once used, no matter how simple the flex application. I have put a couple of posts on my blog about it
http://www.dz015.com/?p=139
http://www.dz015.com/?p=166
In particular the second post seems to highlight what I would consider to be a bug.
What do other people think.
Has anybody out there successfully loaded and unloaded flex applications from within a shell application over a long period of time?
ConradStyles can pin an application or module in memory in 3.x versions of Flex but this has been fixed in Flex 4. There are other things that can cause memory leaks. Probably the easiest one to run into, especially with a shell application, are leaks caused by resource bundles.
If a sub-application or module uses components that use ResourceBundles that are not used by the main application, those resource bundles will get registered with the ResourceManager and pin the first instance of the application or module. You can use the -compiler.keep-generated-actionscript compiler option to see which resource bundles the module and main application are using. The resource bundles are listed in the "compiledResourceBundleNames" object of the info() function. You can force the main application to have those additional resource bundles by adding the resource bundle metadata to the main application. For example, to add the "controls" resource bundle, you would add to the main application MXML file: <mx:Metadata>[ResourceBundle("controls")]</mx:Metadata> If you are loading your resource bundles as modules, make sure the resource modules have completed loading before loading the module that is being pinned.
More information about leaks is available here: http://blogs.adobe.com/aharui/2009/08/what_we_know_about_unloading_m.html
-Darrell -
How to upload photos from memory card to computer on new Officejet 8500A Plus?
I recently replaced an older HP psc 2410 photosmart printer with a new Officejet Pro 8500A Plus printer. The installation went fine without error messages, and it prints, scans and copies just fine. When I insert a memory card into the slot, the printer itself recognizes the files and displays them on the LCD screen and offers to print them. BUT ... what I want to do is upload the files to my PC (running Windows XP), and I can't figure out how to do it! There is no HP program that pops up and offers to transfer the photos like with my old printer. I was also expecting to see the card slots shown as a removeable drive like I did with my old printer, but I don't see them. Also, my Photoshop Elements program doesn't recognize the card slots either.
Then it dawned on me that my computer doesn't "see" the card slots because it's not connected directly to the printer! I set this up as a wireless printer and I am totally new to this, so pardon if this is a dumb question... but is there no way to transfer files from the card slot to the PC in a wireless setup?? I'm totally confused...
This question was solved.
View Solution.Hi,
If your printer is connected thru network or wireless network, you have to access it thru the IP address.
Find out the IP address of the printer. You can do this by clicking on the network icon on the front panel of your printer.
Open Windows explorer and type \\xxx.xxx.xxx.xxx" where xxx.xxx.xxx.xxx is the ip address of the printer.
You'll see the memory card slot there.
You can do a "map network drive" to it if you want your printer card slot to be listed there permanently.
Say "Thanks" by clicking the Kudos Star in the post that helped you.
Please mark the post that solves your problem as "Accepted Solution"
(Although I am employed by HP, I am speaking for myself and not for HP) -
How to unload swf from anather swf
I am calling 3 different swf in to test.swf.
now i want to unload only 1 swf from test.swf
can any 1 tell me how it is possible i am trying
with removeMoviClip() and unloadMovie()
but its of no use.
regards
JustbipinMaybe that's not really what you're doing?
I would guess you rather have
loadMovieNum("myFiLe.swf",99);
This would be unloaded with
unloadMovieNum(99);
Good luck
Wolf
PS Or do you have a container movieClip called "99" to fool
us all? :-)
PPS watch your capitalization. If you call a file "myFiLe"
(and mis-spell it somewhere) it might work on Windows, but not on
Unix-derivatives. A potential source of "Why did it work when I
tested it but not when I uploaded it?" -
i use to play an online game and i dont want anyone else to see my private settings like account name,secret question answer etc.please tell me how can i delete them from firefox memory cause if i press the first letter of the word all word appears
You need to clear cookies from those pages and saved form data and possible saved names and passwords.
See:
* http://kb.mozillazine.org/Deleting_autocomplete_entries
*Tools > Options > Security: Passwords: "Saved Passwords" > "Show Passwords"
* [[Clear Recent History]] -
How to transfer applications from memory card to p...
I want to replace my current memory card for one of a bigger capacity but want to move the apps that are stored on it over to the new card. Not sure how to go about this or even if you can. Any help would be much appreciated. Rich
Solved!
Go to Solution.Hi, the best way is to copy the content of your old memory card to the computer.
Insert the card into your card reader, in the windows menu bar got to tools>>> folder options>>>view>>>>> tick "show hidden files.
This will make sure u copy the system files from the old memory card.
Now high light all the files on your old memory card and copy to your computer preferably to a folder u have created.
insert your new memory card into to the computer, and copy all the copied files back to your new memory card.
And you are good to go.
You can now revert back "the show hidden files" to "don't show hidden files" on your computer( I assume you are using windows)
I did the same for mine works well
If you like my post kindly hit the Green Star Button on the left.
Nokia Phones owned: 3310, 8310, 7650, 3650,7210,6230, 6630, 6600,6100,6610, 6610i, 3230, 8800, 5700XM, E52 (only Nokia phones) -
Unloading BufferedImage from memory
I'm doing a program loading a lot of large BufferedImages (100+) this is too much for the memory so i keep loaded only the active ones and unload the others. i just call image=null so that the garbage collecter knows it may be deleted but however i still get MemoryOutOfBound exceptions. This can be fixed by calling System.gc often and pausing with Thread.sleep but this is ridiculous coding - if my program runs on a faster or slower machine than mine the sleep duration values may be too long or too short!
can i just manually delete the image like i could do in C++? or at least is there a way i could know when the garbage collector is done?? checking the free memory amount seems to give unprecise results too.errr... sorry i don't know how to do thisNot to be rude or anything, but I politely suggest you learn how.
See JPurify (or is it just purify?) there's something like this for java
Also Macromedia JProbe. You can get a free test profiler off of their website
Maybe you are looking for
-
How can I put my recently purchased iTunes movies onto my thumb drive and WD my passport external hard drive.My Mac is saying that can't be copied because it is too large for volumes format
-
Adobe Reader won't open after successful installation??
Hi guys, I recently installed the latest version of Adobe Reader for my Macbook Air and even got a confirmation that it was successfully installed and everything and yet when I click on its icon, it just won't open. Usually with Macs, the application
-
How to open multiple folders and read file?
Hello, I try to use this bridge script. The script work very well for me but some times I have multiple folders. Now script work that: 1. Read file in folder 2. Save text file and show me popup with full quadrature http://forums.adobe.com/message/399
-
Why is Firefox continuously "not responding"?
I've tried a few things, including uninstalling but to no avail. It doesn't matter what the website is...I try to close or open pages and get "not reponding"
-
IPhoto won't open any windows...
I recently upgraded my Early 2008 MBPro to Lion. When I launch iPhoto, it doesn't open my library. In fact, it won't open any window but the preferences. I've reinstalled iPhoto with absolutely no luck. My library package is still there, and accessib