How Can I increase memory used by director?

Hi
I have a tool, written in director, that imports all
imagefiles from a
folder and its subfolders into director cast
It worked since years without any problem
But now I have following problem - if the amount of files is
big enough,
director is out of memory, can not create any new member more
I do it like this
repeat with i=1 to cFileList
cFile=cFileList
mem = new(#image, myCast)
mem.importFileInto(cFile, [#trimWhiteSpace:FALSE,
#remapImageToStage:FALSE])
mem.name=cFile
end repeat
At some moment command
mem = new(#image, myCast)
fails, it can happen on 500-th file in the list, or an 570-th
or on some
other point. So the problem is not in some definite file, but
in memory. How
can I avoid this problem? Can I purge the memory, used by the
program till
that moment or is there any other way do to it?
Any help will be appreciated

Look up save castlib. put this in your loop and and maybe try
i mod 10 so it
only saves every 10 times. This should pull the images from
ram to disk, and
sort of purge the memory for you.
Timm
"Jorg Mann" <[email protected]> wrote in message
news:emof0k$cqh$[email protected]..
> Hi
>
> I have a tool, written in director, that imports all
imagefiles from a
> folder and its subfolders into director cast
> It worked since years without any problem
> But now I have following problem - if the amount of
files is big enough,
> director is out of memory, can not create any new member
more
>
> I do it like this
>
> repeat with i=1 to cFileList
> cFile=cFileList
> mem = new(#image, myCast)
> mem.importFileInto(cFile, [#trimWhiteSpace:FALSE,
> #remapImageToStage:FALSE])
> mem.name=cFile
> end repeat
>
> At some moment command
> mem = new(#image, myCast)
> fails, it can happen on 500-th file in the list, or an
570-th or on some
> other point. So the problem is not in some definite
file, but in memory.
> How
> can I avoid this problem? Can I purge the memory, used
by the program till
> that moment or is there any other way do to it?
>
> Any help will be appreciated
>
>

Similar Messages

  • How can I increase the size of the bootcamp partition without having to delete or re-install windows? using a macbook pro (15-inch) 10.9.4.

    I'm using a macbook pro (late 2013 with mavericks-10.9.4 ). I installed windows using bootcamp but didn't estimate the storage I required correctly. So now I don't have enough storage in the bootcamp hard drive.
    How can I increase the Partition size between windows and mac without having to delete or re-install windows?
    Thanks,
    Advek

    Check out this explanation.

  • Hi, i need to know how can i increase the dedicated video memory in my hp touchsmart 520-1030

    hi, i need to know how can i increase the dedicated video memory in my hp touchsmart 520-1030

    banhien wrote:
    Dedicated memory ? Buy a new card.
    Except that's not an option in the Touchsmart Desktops for users after purchase,
    Banhien, please pay attention and don't just guess.

  • When using large text my lines overpal, how can I increase the line spacing?

    When using large text my lines overpal, how can I increase the line spacing?

    Press 'Ctrl + Enter' after the numbered item to insert blank space below it. If you press 'Enter', the next line will start with the next number. As long as you want to type lines without a numbering, press 'Ctrl + Enter' and type the line.

  • How can I increase the speed of importing audio cds into my iTunes library?  On my old Dell PC cds imported at 30-35x, but my new iMac (using the Apple Superdrive) is trudging along at 8-10x.  Any suggestions?

    How can I increase the speed of importing audio cds into my iTunes library?  On my old Dell PC cds imported at 30-35x, but my new iMac (using the Apple Superdrive) is trudging along at 8-10x.  Any suggestions?

    Hi,
    Not sure you can do anything about this. I get vaiable import speeds - a lot depends on the actual disc. The Read Write spec is 24X but I rarely see speeds close to this.
    Jim

  • The new Mavericks Calendar uses very faint fonts, how can I increase the contrast?

    The New Mavericks Calendar uses very faint fonts, how can I increase the contrast?

    Hi,
    One thing can help a little is the following.  Right click the speaker icon in the Taskbar and select 'Playback Devices'.  Left click the default device once to highlight it ( it's usually 'speakers & headphones' ) then click the Properties button.  Click the Enhancements tab and put a tick in the box next to 'Loudness Equalization'.  Click Apply to save the change and then click OK in all remaining windows and see if this has helped at all.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • HT4910 How can I increase my storage space without using a debit/credit card?

    HOw can I increase my iCloud storage without a credit/debit card!!

    Payment methods accepted include iTunes store credit, credit cards, and debit cards. If you do not have enough iTunes store credit to complete your upgrade, you will be charged the remaining amount.
    Purchasing iCloud storage and billing:
    http://support.apple.com/kb/HT4874

  • HT201318 If you increase your iCloud storage capacity can you increase the number of songs that exceed the 25,000 limit on the iMatch. If it does not apply specifically how can I increase this rather constrained limit?

    The whole business of cloud storage is unclear to me. They say that you have 5G of memory free upgrade to 15 for twenty-five dollars and that this is unrelated to music and video memory. I get this, but I have purchased iCloud Match for $25 but I've quickly maxed out the 25,000 song limit. How can I increase this limit. It is at this point I am unclear about the $25 for 15G additional storage... can this be used to increase iTunes/iCloudmusic storage to increase the music Storage? One would think that apple would make these distinctions clearer. Can anyone carify? Thanks!

    iTunes Match does not use your iCloud account.  Your annual Match subscribtion pays for separate storage to host your iTunes library.  As far as I know, you can't increase the 25,000 song limit.
    If you recently purchased the storage upgrade for this purpose, in the U.S. you could call 1-800-MYAPPLE for a refund if you don't need it.

  • How can I make server use single class loader for several applications

    I have several web/ejb applications. These applications use some common libraries and should share instances of classes from those libraries.
    But applications are being deployed independently thus packaging all them to EAR is not acceptable.
    I suppose the problem is that each application uses separate class loader.
    How can I make AS use single class loader for a set of applications?
    Different applications depend on different libraries so I need a way that will not share library for all applications on the domain but only for some exact applications.
    When I placed common jar to *%domain%/lib* - all works. But that jar is shared between all applications on the domain.
    When I tried to place common jar to *%domain%/lib/applibs* and specified --libraries* attribute on deploying I got exception
    java.lang.ClassCastException: a.FirstDao cannot be cast to a.FirstDaoHere http://download.oracle.com/docs/cd/E19879-01/820-4336/6nfqd2b1t/index.html I read:
    If multiple applications or modules refer to the same libraries, classes in those libraries are automatically shared.
    This can reduce the memory footprint and allow sharing of static information.Does it mean that classes should be able to be casted ?

    You didn't specify which version of the application server you are using, but the config is similar as long as you know what to look for. Basically, you need to change the classloader delegation. Here's how it is done in 8.2
    http://download.oracle.com/docs/cd/E19830-01/819-4721/beagb/index.html

  • How can i increase download speed on my MacBook Pro?

    How can I increase download speed on my macBook Pro?

    Common strategies:
    * Use ethernet instead of wireless.
    * Get a better/upgraded ISP.
    * Get a better/upgraded router.
    * Get a newer mac.

  • How can I increase resolution when saving file as PDF?

    I am sending some illustrated files to a professional printing press that only accepts PDFs, however they say the resolution is too low and should be 300dpi. How can I increase resolution? Only option I could find was to try to create a new filter in Color Sync by duplicating PDFX3 filter and editing it to the desired resolution, however I couldn't get new filter to save my resolution inputs. Any help is appreciated!

    You really need something like Acrobat which will install a "Save as Adobe PDF" under the PDF menu. You can select press quaility," "high quality print," etc., and get a true high res PDF.
    If you'd like to just give it a shot, try downloading one of the OS X CS6 suites that include Adobe Acrobat Pro for a free 30-day trial. I've never used SketchBook Pro, but Acrobat may help you out.
    Clinton

  • How can I increase the number of R3trans in the SHADOW_IMPORT_INC ?

    Hello ,
    we have a problem with ehp installation .  The Prepare Phase for EHP4  have we start on monday . But we have closed development on Thursday and now the SHADOW_IMPORT_INC is to slow.
    How can I increase the number of R3trans in SHADOW_IMPORT__INC Phase ? We have opened a servicecall with prio high but sap does not answer.
    Regards

    Hi Daniel,
    What database are you working on ?? Make sure stats are updated. This phase has lot to do on the DB part. So analyse more from DB perspective.
    Most important thing is check if you are using parallel import property of R3trans as per SAPnote # 1127194.
    Best Regards
    Niraj
    Edited by: Niraj Kumar Soni on May 1, 2010 12:50 AM

  • How can we increase the font size in Adobe Bridge CC 2014?

    How can we increase the font size in Adobe Bridge CC 2014?
    We use Windows 7 64bit computers and Dell High Density UltraSharp UP2414Q monitors with a resolution of 3840 x 2160.
    Other applications in Adobe CC 2014 work fine with this high resolution (Indesign, Photoshop) but I can't find where to adjust font size in Bridge.
    Right now menu items are hardly ledgible.

    Same problem.  Bridge is unusable with this micro font and no way to change it.
    I would call tech support but I don't feel like being on hold for two hours to talk to someone Adobe pays pennies a day in a loud call center who won't be able to help anyway. Fail.

  • How can I remove all photos and directories from iPhoto?

    How can I remove all photos and directories from iPhoto as if it was a brand new install?
    I am new to iPhoto and was unaware of how it works, honestly I still am a little confused as to when pics I am using 1/2 the time, some from iPhoto and some from MyPics.
    Anyhow, I am looking to remove all photos from iPhoto because during the migration of all my photos from PC to MAC, somehow my timeline became messed up and all my photos that have been logged my dates since 1998 are now all messed up.
    Although all my year folders are still in tact, IE 1998-2006, the subfolders and like pics are all intertwined somehow.
    And when I search iPhoto for a given year, photos from 2,4, 8 yrs back show up in 2006.
    Anyhow, I have selected and deleted all photos and folders within iPhoto, and then import the desired photos from MyPics, only to have the photos double up in the library. ( The old ones that should be deleted and the new imports)
    I simply don't get it, they fill the trash and disappear when it's emptied, then reappear when iPhoto re-opens!
    Can someone help????
    I have completely reworked all my photos so that they are all in the correct folders outside of iPhoto, and now I want to import those and only those pics with that file structure.
    IE Structure = YEAR > MONTH > DAY ( or if needed) > DAY/EVENT

    Do you want to remove the existing full sized image files also? If so then just drag the iPhoto Library folder from the Pictures folder to the Trash and empty it. But be warned you'll lose all of your image files.
    You are dragging the files to the iPhoto Trash bin and then using the iPhoto->Empty Trash menu, right?
    In copying your photos to myspace and then back the original capture date may not be retained and then either the created date or modified date will be used by iPhoto. If the files in the current library are the originals from your camera then those have the best chance of retaining the correct Captured Date. You can check that out by dragging the Originals folder from your iPhoto Library folder to the desktop and then trash what remains of the iPhoto Library folder. Then launch iPhoto and it will ask you to create an new library. Then import that Originals folder and it's subfolders by dragging it into iPhoto's open window. You'll keep the same rolls that was. The roll dates may change but you can check the captured date of the files by using the calendar in the Source pane.
    You won't be able to keep your folder structure within iPhoto. Each outside folder will result in a roll with the same title as the folder. You'll be able to create folders in the Source pane to put albums inside. You can create a smart album to include all photos in a certain date range, line one month.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    G5 Dual Core 2GHz, 2G RAM, 250G HD; G4 Dual 1Ghz, 1.5G RAM, 80G HD,   Mac OS X (10.4.7)   22 LCD Display, 200G & 160G FW HDs, Canon S400, i850 & LIDE 50, Epson R200

  • How can I increase the storage capacity in Linux for installing Oracle 11g?

    Hi all,
    I've been searching in Internet information about how to increase the storage capacity of a Linux machine, so that it can help me with my problem without success. I tried to execute some command lines encountered in some tips in forums, but no one works.
    I want to install an Oracle 11g database, which needs 4 GB minimal for the installation. I can not continue with the installation because of this problem.
    I use a VMWare virtual machine, which I increased over its settings to 160 GB, but not its file systems or whatever in the machine.
    I did this:
    [root@localhost ~]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda3 18G 15G 1.9G 89% /
    /dev/sda1 190M 12M 169M 7% /boot
    none 506M 0 506M 0% /dev/shm
    /dev/hdc 699M 0 699M 100% /media/cdrom
    As far I understand the bigger storage capacity is used by the file system /dev/sda3. But what about the rest, I mean the 140 GB?. I've already increased the storage capacity over the settings. How can I tell the machine "please use the remaining 140 GB for the installation of the Oracle DB and other needed installations?.
    How can I increase here what?. Disk? File system? Volume Group? It can not be so difficult, can it?
    There are no volume groups in the machine:
    +[root@localhost /]# vgdisplay+
    +No volume groups found+
    Linux is too complicated. Unfortunately I have to do that in Linux :-(
    Can someone help me? I sit here since long hours without finding a solution :-(

    thanks for your answers.
    To Dude:
    You can address the problem in a number of different ways, but please post your version of Linux and provide more information about your current partitions
    The Version of Linux is Linux Red Hat Enterprise 5.
    Open Logical Volume Management from the System Administration menu.
    Select your volume from the logical view, edit properties and then use the slider to set your volume size, or click "remaining" to extend your partition.
    I've already opened the LVM from the System Administration menu, but there is no possibility to see the volume groups, because there is no one. There is no tabs like Volume Groups or something like that...
    I would try the procedure described above your answer and write you again. I hope it works...I will write you back in a few minutes...

Maybe you are looking for

  • Square box for character in jeditorpane

    Hi, I'm trying to display the middot character, integer value 183, in a jeditorpane, but all I'm getting is a square box. Any thoughts as to why? I believe I'm using the default encoding, ISO-8859-1. Do I need to set a different encoding, a font, or

  • I cannot use Facetime on my iPhone5.

    When I try to sign in with my Apple ID and password, it says I can not sign in.  To check my network connection and try again. I am connected to my home wifi network.  Why can't I sign in??

  • ITunes 10.6 crashes repeatedly

    New version just downloaded and has crashed approx 8 to 10 times. So I reloaded the iTunes 10.6 , rebooted and experienced the same behavior. Trashed the new version, so now I have no iTunes. Don't see any opportunity to reload older version except b

  • Imessage not functioning

    Hi, i have an iPhone 4 using iOS 6.1.3, my problem is that with certain contacts the imessage function does not function even though myself and the other contact has imessage activated, yet with others the imessage function automatically activates as

  • Will i get the same care from the Apple Website as i do when buying from the Apple Store?

    I am looking into buying an iPad mini 3 for christmas, i wanted to get the free engraving which only comes when you order from the website. I was wondering if i will get the same level of care buying from the website as i did from the Apple Store? I