How do I solve ?memory issues with RTFObj.u32

I am currently developing an interactive data analysis & reporting package to handle the results from an AW assessment program.
Using RTFObj.u32, I can save an assessment report for each candidate that contains a runtime-generated score distribution graphic + a certificate graphic together with some text, amounting to one A4 page of output. The graphics are displayed on screen then captured into temporary files which are embedded into the rtf script template file (myCandFile in the script below)
I use the sequence of code, each line in a separate calc, summarised as follows:
myRTFID[QBatchNumber] := rtfCreate(56, 80, 560, 627, myCandReportFolder^myCandFile,0, 0, 1, 2, 1)
result := rtfShow(myRTFID[myBatchNumber])
result := rtfSave(myRTFID[myBatchNumber], 0, mycandReportFolder^myCandFile)
result := rtfErase(myRTFID[myBatchNumber])
When I place this in a loop, it works fine and produces individual files with embedded graphics for up to around 190 candidates but will not produce any further files for larger cohorts and rtfShow() fails at this number. This maximum number does not seem to change even if I group the candidate pages into batches of 10 which produces only 19 rtf files, each with 10 candidate reports, rtfShow then fails at cycle 19.
Reducing the number of calls to rtfCreate() has no effect
Reducing the dimensions of rtfCreate() has no effect.
Reducing the content of each rtf file has no effect.
Removing the page breaks in the rtf files has no effect
The AW nested code loop continues to more than 400 records without apparent limit and graph plots continue to appear on screen to the end of the candidate listing.   Once the limit of 190 candidates has been reached, no more rtf files can be generated from anywhere else in the program and rtfOBJ.u32 appears to have failed without any warning messages.
From these observations, I'm not sure what controls the limit.
So what stops rtfObj.u32 from functioning? It would appear that rtfObj.u32 does not release the memory used to create the rtf file when rtfErase() is called. One might think that the limit may be related to the total number of characters handled by rtfObj.u32 in any one AW session, however reducing the rtf file size for each candidate by taking out one of the graphics has no effect on the number produced.
In another area of the program I can successfully save 5 rtf files of 28Mb each with rtfOBJ.U32 failing on the 6th.
Any ideas?
If it is a memory limitation of rtfOBJ.U32, is there any method for getting around it by allocating memory for rtfCreate() and releasing the memory when rtfErase() is called. Is there any way of unloading rtfObj.u32 then reloading it from code within an AW piece?
Regards
Don

This sounds very similar to a problem we had a few years with our Rtf files in Authorware 6.5
If your getting the error on loop 190, do you have numerous Rtf calls in a single loop? Check the value of the variable RtfCreate contains when the problem occurs: is it positive or negative?
The highest number you can record in 16 bits is 32767. When creating a new Rtf, Authorware increments the pointer by one each time. However, when it reaches 32767, the pointer then changes to negative 32768, then -32767, -32766 etc. Running in batches won't help, the pointer is reset to zero only when you quit Authorware.
We solved the problem as follows:-
-- Set when Initialising variables:-
lastID:=1 -- bugfix flag re losing RTF identity past 32767
B16:=0 -- Bit 16 Increment Value
-- Here's a typical Rtf call
rtfIDE:=rtfCreate(30,38,460,57,FnameTxtEng,0,0,1,1)
-- After each rtfCreate, we tested to see if the value had gone negative & if so, called a sub-routine
if (rtfIDE < 0 & lastID >0)   then
    CallScriptIcon(@"AdjB16")
end if
if rtfIDE >0 then lastID:=1
rtfIDE:=rtfIDE + B16
The calculation icon AdjB16 (With Properties set to Contains Script Function) is as follows:-
--increment variable to adjust address of RTF pointer
B16:=B16 + 65536
--flag re move past 32768 multiples negative or positive (may come through here again on next time it passes 32767)
if lastID =1 then lastID:=-1 else lastID:=1   -- there's a minus sign in there!
The show rtf call now carries on incrementing after 32767, so next Rtf show is positive 32768  ... & surprisingly Authorware shows correct Rtf
After -32768, the Create routine will eventually get the pointer down to minus one, zwero and then turn positive ... but happens again next time it passes 32767.
I don't recall how high we tested Show Rtf up to but we took it past 131,072

Similar Messages

  • HT1918 How do you solve an issue with the card? I don't get the option of 'none' :(

    How do you solve an issue with the card? I don't get the option of 'none'

    I had this exact same problem with the new iPhone I bought on 1/4/13. The walk through they provide on how to do this is useless because it fails to explain that if you are already having the problem of not getting the "None" payment option with an Apple ID then you will need to create a completely new Apple ID.
    I had to do this 7 times since I bought my iPhone on Friday until this morning to figure out how to finally be able to use the Home Sharing option in iTunes to put my music collection on my brand new $500.00 iPhone. Pretty pathetic if you ask me but since it made me so angry I want to make sure other know how to do this so you don't get as upset as I did.
    #1 If your current or soon to be "old" Apple ID is not providing the option for "None" as a payment option then you need to make a brand new one. But you have to make it specifically how I tell you.
    #2 You will need to use an email address that has not already been used for anything related to a previous Apple ID. You might need to make a brand new email address.
    #3 Open iTunes, then open iTunes Store (upper right corner of iTunes).
    #4 Click on App Store (upper center of screen).
    #5 Scroll down the screen page until you see Top Free Apps on the right side.
    #6 Choose any one of the FREE apps.
    #7 You should either get the option to create a new Apple ID box, either that, or it will pop up with some kind of disclaimer and then it does the create new Apple ID.
    Either way just create a new Apple ID when it gives you the option to and then when you get to the page that looks like the payment page the "None" payment option will finally be available.
    Note: You will still have to fill out the information on the payment page. As long as you choose the "None" option it will not request any credit card information.
    #8 You will be sent a confirmation email to the new email account. Just follow through with what ever it tells you and viola now you can use your Apple Device.
    What a pain in the keester, eh?

  • When trying to log in with my primary Apple ID and password, I am continuously asked for my pass word without being able to log in. How can I solve this issue, without creating a new Apple ID?

    When trying to log in with my primary Apple ID and password, I am continuously asked for my pass word without being able to log in. How can I solve this issue, without creating a new Apple ID?

    Chewning wrote:
    I saved some of my music to a Cloud I can't access. Now, they show up as "Purchased" in iTunes, and I'm not given the option of re-downloading OR repurchasing them.
    Music purchased from the iTunes store is not stored in your personal iCloud account, and an iCloud account is not required to redownload them.  You should be able to redownload them as explained here: http://support.apple.com/kb/ht2519.  If you are unable to, contact iTunes store support for assistance by going to https://expresslane.apple.com ; click ‘iTunes', and then 'iTunes Store', then 'Purchases, Billing & Redemption'.

  • I have macbook pro and am on OS X Yosemite 10.10.2 . I am having lot of warning message on my browser that my computer is infected with malware/spyware and use mackeeper. How do I solve this issue . This is happening more on chrome and Safari browser

    I have macbook pro and am on OS X Yosemite 10.10.2 . I am having lot of warning message on my browser that my computer is infected with malware/spyware and use mackeeper. How do I solve this issue . This is happening more on chrome and Safari browser

    There is no need to download anything to solve this problem. You may have installed a variant of the "VSearch" ad-injection malware. Follow Apple Support's instructions to remove it.
    If you have trouble following those instructions, see below.
    Malware is always changing to get around the defenses against it. This procedure works as of now, as far as I know. It may not work in the future. Anyone finding this comment a few days or more after it was posted should look for a more recent discussion, or start a new one.
    The VSearch malware tries to hide itself by varying the names of the files it installs. To remove it, you must first identify the naming pattern.
    Triple-click the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination  command-C:
    /Library/LaunchDaemons
    In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
    A folder named "LaunchDaemons" may open. Look inside it for two files with names of the form
              com.something.daemon.plist
    and
               com.something.helper.plist
    Here something is a variable string of characters, which can be different in each case. So far it has always been a string of letters without punctuation, such as "cloud," "dot," "highway," "submarine," or "trusteddownloads." Sometimes it's a meaningless string such as "e8dec5ae7fc75c28" rather than a word. Sometimes the string is "apple," and then you must be especially careful not to delete the wrong files, because many built-in OS X files have similar names.
    If you find these files, leave the LaunchDaemons folder open, and open the following folder in the same way:
    /Library/LaunchAgents
    In this folder, there may be a file named
              com.something.agent.plist
    where the string something is the same as before.
    If you feel confident that you've identified the above files, back up all data, then drag just those three files—nothing else—to the Trash. You may be prompted for your administrator login password. Close the Finder windows and restart the computer.
    Don't delete the "LaunchAgents" or "LaunchDaemons" folder or anything else inside either one.
    The malware is now permanently inactivated, as long as you never reinstall it. You can stop here if you like, or you can remove two remaining components for the sake of completeness.
    Open this folder:
    /Library/Application Support
    If it has a subfolder named just
               something
    where something is the same string you saw before, drag that subfolder to the Trash and close the window.
    Don't delete the "Application Support" folder or anything else inside it.
    Finally, in this folder:
    /System/Library/Frameworks
    there may an item named exactly
                v.framework
    It's actually a folder, though it has a different icon than usual. This item always has the above name; it doesn't vary. Drag it to the Trash and close the window.
    Don't delete the "Frameworks" folder or anything else inside it.
    If you didn't find the files or you're not sure about the identification, post what you found.
    If in doubt, or if you have no backups, change nothing at all.
    The trouble may have started when you downloaded and ran an application called "MPlayerX." That's the name of a legitimate free movie player, but the name is also used fraudulently to distribute VSearch. If there is an item with that name in the Applications folder, delete it, and if you wish, replace it with the genuine article from mplayerx.org.
    This trojan is often found on illegal websites that traffic in pirated content such as movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow. Never install any software that you downloaded from a bittorrent, or that was downloaded by someone else from an unknown source.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Then, still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.

  • How to correct internal memory issue

    This is related to the standard SAP program SAPRCKM_MR11 in which there is one include RCKM_MR11F01 which contains a select statement :
    SELECT *
         INTO CORRESPONDING FIELDS OF TABLE t_bhistory
         FROM v_ckmlgrir
         WHERE bukrs EQ p_bukrs
         AND   ebeln IN r_ebeln
         AND   ebelp IN r_ebelp
         AND   lifnr IN r_lifnr
         AND   ekorg IN r_ekorg
         AND   ekgrp IN r_ekgrp
         AND   werks IN r_werks
         AND   bedat IN r_bedat
         AND   bsart IN r_bsart
         AND   bstyp IN ht_bstyp
         AND   vgabe IN ('1', '2', '3')  "Wareneingang/Rechnung/Nachbel.
         AND   loekz_k NE 'L'            "Loeschkz. Bestellkopf
         AND   loekz_p NOT IN ('L', 'S') "Loeschkz. Bestellposition
         AND ( frgrl   EQ space          "Freigabe unvollständig
         OR    frgrl   IS NULL )
         AND ( memory  EQ space          "Bestellung noch nicht komplett
         OR    memory  IS NULL )         "falls Feld nicht initialisiert
         AND ( xwoff   EQ space          "Wertbildung offen
         OR    xwoff   IS NULL )         "falls Feld nicht initialisiert
    bei Dienstleistungsbestellungen werden mehrfach kontierte
    Bestell-Pos. gegen das WE/RE-Konto gebucht, deshalb dürfen
    mehrfach kontierte Pos. nicht generell überlesen werden.
          AND   vrtkz   EQ space          "keine Mehrfachkontierung
         AND   wepos   EQ 'X'            "Wareneingang wird erwartet
         AND   repos   EQ 'X'            "Rechnung wird erwartet
         AND   weunb   EQ space          "Wareneingang unbewertet
         AND   stapo   EQ space.         "Item is not statistical
    There is one job FMT612P which contains this standard program and the job is going to abend
    because of the select statement given above which is because of some memory issue with the internal table t_bhistory, please give us a suggestion how we can avoid the same.

    Hi,
    I am also facing the same issue. We had copied this report into a custom report and are trying to improve performance by breaking the view into separate queries on EKKO, EKPO and EKBE.
    Can someone advise the best way to deal with this view v_ckmlgrir or a best approach to break down the view into separate queries.
    Thanks
    Edited by: Shreyas Shrikant Kulkarni on Jun 29, 2009 4:56 PM

  • My toolbar is missing and there is a button where it used to be that says "Please re-install the Toolbar" but when I click on it nothing happens? Also when I start Firefox I get a script running error how do I solve these issues?

    My toolbar is missing and there is a button at the top left that asks me to "Please re-install the Toolbar" but when I click on it nothing happens???
    Then when I start Mozilla I get a long delay before it launches and a script running error "A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
    Script: chrome://tavgp/content/libs/include.js:595"
    How do I solve these issues???

    No idea - and you provide no clues
    what version of iPHoto do you have? Of the OS? is the iPhoto icon you are speaking of in the Dock?
    re-read your post and try to provide information using standard Mac terms since we can not see you or your computer and only have your worrds to let us try to help you
    Somehow my "IPhoto" icon now says "Preview".  When I click on "Preview" nothing opens up except the bar says Preview.  When I click on the Preview on the bar, a box opens up with different items, except when I click on any of them, there is nothing there.  The only thing that work is the "quit preview".  However, it is still there where my IPhoto icon should be.  I can't get into my IPhoto.  How do I get rid of this "Preview" and how did it end up taking over the IPhoto icon???
    If you go to your Applications folder and double click on iPhoto what happen?
    LN

  • I have deleted all my videos songs and photos from my iphone 4 but when i connect to itunes it still shows 17gb free. how can I solve this issue without restore. Total storage of my iphone is 32 gb.

    I have deleted all my videos songs and photos from my iphone 4 but when i connect to itunes it still shows 17gb free. how can I solve this issue without restore. Total storage of my iphone is 32 gb.

    I don't see an issue, but if you mean why didn't you get most of your memory back you need to see what else is using storage. Go to Settings/General/Usage. Wait a bit for it to calculate storage allocation, then when it finishes you can see how much storage each app uses.

  • How can i solve a issue through remeady

    how can i solve a issue through remeady..
    With Regards
    Prasanta

    Hello,
    Remedy and other similar products are the tools which track the Action / Time taken for resolving a call. Normally, once an issue is reported, that will be recorded in a tool with an estimated fix time. If the call is not fixed / actioned within the estimated time, it go as breached.
    The analyst need to update the call status in the tool. They will need to update the actions taken, call notes ..etc. Once the issue is fixed, you may set the call status as resolved. Once you set the status as resolved, the user who riased the issue will get an e-mail. They will confirm whether the issue is actually closed or not. Depends upon their cconfirmation, the status will be set to Closed or again Reopen.
    This is a typical helpdesk tool scenario.
    Prase

  • How do I solve the issue of this message "you do not have enough access privileges for this operation" on my iTunes?

    How do I solve the issue of this message "you do not have enough access privileges for this operation" on my iTunes? I already went to the folder of iTunes inside the Finder and change all permissions to allow read and write... no improvement at all. Any help? thanks!

    Hi! I just realized I have two folders called library, one is inside HD alongside with System and users, then I have also "library" inside users, some of the folders are apparently repeated, some are missing. And all the music is inside a folder called iTunes Music, inside Music, inside users. Now that I relaized some folders are repeated I applied to all related to iTumes r/w permission. But the annoying message keeps coming on.
    And yes, I am using Leopard, 10.5.8.
    Any ideas?

  • The Yahoo password in the mail settings of all my Apple devices has reverted to an old version and, no matter what I try, following advice from the community, it always returns to the old password.  How can I solve this issue?

    The Yahoo password in the mail setting on all my apple devices - iPad, iPhone 5, mini iPad - has permanently reverted to an old version.  I have tried all the suggestions provided by the community so far but nothing works. When I delete the account and re-enter the details, the updated password is recognised and seems to save but, when I go back into the account, the old password is the one that is there.
    I am desperate! How can I solve this issue please?

    See:
    How to use multiple iPods, iPads, or iPhones with one computer
    What is the best way to manage multiple...: Apple Support Communities

  • I want to restore iphone 4s and i have the error 21.How cand i solve yhis issue?

    I want to restore iphone 4s and i have the error 21.How cand i solve yhis issue?

    http://support.apple.com/kb/TS3694#error21
    These errors typically occur when security software interferes with the restore and update process. FollowTroubleshooting security software issues to resolve this issue. In rare cases, these errors may be a hardware issue. If the errors persist on another computer, the device may need service.
    Also, check your hosts file to verify that it's not blocking iTunes from communicating with the update server. See iTunes: Advanced iTunes Store troubleshooting—follow steps under the heading Blocked by configuration (Mac OS X / Windows) > Rebuild network information > Mac OS X > The hosts file may also be blocking the iTunes Store. If you have software used to perform unauthorized modifications to the iOS device, uninstall this software prior to editing the hosts file to prevent that software from automatically modifying the hosts file again on restart.

  • How can I solve white page with some sites in safari 8?

    Hello.
    I have problem with Safari 8. I can't see the articles that I want to read.  It's appear in white page.
    How can I solve this issue?
    Thank you.

    Hi ..
    Might be a cookies, cache, extensions, or plug-ins issue.
    From your Safari menu bar click Safari > Preferences then select the Privacy tab.
    Click:   Remove All Website Data
    Then delete the cache.
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.
    If that didn't help, from the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test.
    If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.
    If it's not an extensions issue, try troubleshooting third party plug-ins.
    Back to Safari > Preferences. This time select the Security tab. Deselect:  Allow plug-ins. Quit and relaunch Safari to test.
    If that made a difference, instructions for troubleshooting plugins here.

  • I have upgraded my Iphone 4s to 7.0.3 and after that my phone is not charging at all if i leave my phone for charging for more then 24 hours it will charge upto 50%. How do i solve  this issue ?? pls suggest ??

    I have upgraded my Iphone 4s to 7.0.3 and after that my phone is not charging at all if i leave my phone for charging for more then 24 hours it will charge upto 50%. How do i solve  this issue ?? pls suggest ??

    Even if it is a hardware problem they should fix it regardless of warranty. If you buy a car and after 1.5 years the doors fall off due to a failure in their design and construction, do you think the car manufacturer could pull off what Apple is trying to do? Yes the car still delivers its primary objective of driving from A to B, but significant functionality has been lost due to their fault.
    It is the same with this iPhone wifi problem. Apple are a disgrace, I have had significant Apple Hardware failures with my MacBook Pro and iPhone within 2 years of purchase. Pathetic quality.

  • I`ve just bought a Mac Book pro 15", did the required updates and since two days ago it freezes. Now I can´t even start the computer. the screen is allways white. how can I solve this issue??

    I`ve just bought a Mac Book pro 15", did the required updates and since two days ago it freezes. Now I can´t even start the computer. the screen is allways white. how can I solve this issue??

    The same thing happened to me... Since two days the ******* thing keeps freezing after a while. Then I try to reboot and the screen goes white and it doesn't boot. If I wait like half an hour it boots again.
    I thought it was a hardware problem, but the Apple Hardware Test founds nothing at all. I think it has to do with the software update I performed 2 days ago.
    (MacBook Pro 15" Early 2011)

  • HT3743 I got an error no 1015 ! what does it mean ? and How Can I solve this issue?

    I got an error no 1015 ! what does it mean ? and How Can I solve this issue?

    Error 1015: This error is typically caused by attempts to downgrade the iPhone, iPad, or iPod touch's software. This can occur when you attempt to restore using an older .ipsw file. Downgrading to a previous version is not supported. To resolve this issue, attempt to restore with the latest iPhone, iPad, or iPod touch software available from Apple. This error can also occur when an unauthorized modification of the iOS has occurred and you are now trying to restore to an authorized, default state.
    Busted...

Maybe you are looking for

  • Installing forms on windows 7 32 bit

    dear all, after searching and testing many senarios i found that you can open any form that have no attached libraries, but when you try to open one that have attached libraries it will give you this error : Problem signature: Problem Event Name:    

  • Is it possible to replace (not upgrade, just replace) the CPU in my hp pavilion d6-2164ca?

     And if it is possible, is it even worth doing?My computer has decided to give me the common problem of not starting up. At first the blinks (no sound) indicated a BIOS issue, but when I attempted to flash the BIOS it didn't work and the LED code cha

  • Connecting a sound bar to Toshibia 50L1450U: Can it be done?

    I am trying to connect my iLive sound bar to this TV but there doesn't appear to be an audio out option. Is it possible to connect the sound bar via usb or some other way?

  • Which GPU for CS5.5?

    Here's some interesting information. "I asked Adobe to confirm my findings and the following statement: "When using an approved NVIDIA card, CS5.5 performs better using cards with more CUDA cores." A few days later I received a short but to-the-point

  • IMovie not showing my movie in the Projects folder

    When I click on the All Projects folder, in the preview section it says the name of the movie I have been working on. However, it shows no icon where I could click onto it nor does it allow me to play the video. I have tried making duplicates thinkin