AudioFileOpenURL really bad performance when opening big *.m4a files

I did some testing for a project of mine and noticed that opening a big .m4a file with AudioFileOpenURL is really slow.
I tested opening about 25000 audio files.
All of them, except large mp4 podcasts like the engadget podcast, open really fast.
There seems to be a direct connection between the size of the file and the time it takes for AudioFileOpenURL to open it.
Files that are around 3MB have no noticable delay and files around 30MB will take seconds to open.
While opening AudioFileOpenURL consumes a lot of cpu.
I tried setting the correct fileTypeHint but that makes no difference at all.
Is there any explanation for this behaviour?
I can not continue with my project until i'm able to open all audio files in a reasonable time.
Maybe somebody has an idea how I can speed this up.

Certainly a reasonable concern...
The question at this point is, How are the reports going to be used and deployed once they are in production?
I'd look at it from that direction.
For example... They may be able to dump the data directly to another database on a separate server that would insulate the main enterprise server. This would allow the main server to run the necessary queries during off peak hours and would isolate any reporting activity to a "reporting database".
This would also keep the data secure and encrypted (it would continue to enjoy the security provided by an RDBMS). Text & csv files can be copied, emailed, altered & deleted by anyone who sees them. Placing them in encrypted .zip folders prevents them from being read by external applications.
<Hope you liked the sales pitch I wrote for you to give to the client... =^)
If all else fails and you're stuck using the csv files, at least see if they can get it all on one file. Joining the 2 files is killing you performance wise... More so than using 1 massive file.
Jason

Similar Messages

  • Bad performance when open a bi publisher report in excel

    We use bi publisher(xml publisher) to create a customized report. For a small report, user like it very much. But for a bigger report, users complain about the performance when they open the file.
    I know it is not a native excel file, that may cause the bad performance. So I ask my user to save it to a new file as a native excel format. The new file still worse than a normal excel file when we open it.
    I did a test. We try to save a bi publish report to excel format, the size shrink to 4Mb. But if we "copy all" and "Paste Special" value only to a new excel file, the size is only 1Mb.
    Do I have any way to improve that, users are complaining everyday. Thanks!
    I did a test today.
    I create a test report
    Test 1: Original file from BIP in EBS is 10Mb. We save it in my local disk, when we open the file, it takes 43 sec.
    Test 2: We save the file in native excel format, the file size is 2.28Mb, it takes 7 sec. to open.
    Test 3: We copy all cell and "PasteSpecial" to a new excel file with value only. The file size is 1.66Mb, it takes only 1 sec to open.
    Edited by: Rex Lin on 2010/3/31 下午 11:26

    EBS or Standalone BIP?
    If EBS see this thread for suggestions on performance tuning and hints and tips:
    EBS BIP Performance Tuning - Definitive Guide?
    Note also that I did end up rewriting my report as PL/SQL producing a csv file and have done with several large reports in BIP on EBS.
    Cheers,
    Dave

  • Need help. I am running a 27 in imac with 16 gigs of ram. Photoshop runs really fast, except when opening files. It takes 5-10 minutes to open even a small file of 1 meg. I cleaned and validated all the fonts and removed all questionable fonts. Reset pref

    Need help. I am running a 27 in imac with 16 gigs of ram. Photoshop runs really fast, except when opening files. It takes 5-10 minutes to open even a small file of 1 meg. I cleaned and validated all the fonts and removed all questionable fonts. Reset preferences and still have problem. Slow to open and in force quit "Photoshop not responding" At this point should I uninstall and start over.

    What are the performance Preferences?

  • Upgraded from LR4 to LR5.7. Apparently successful download on iMac27" 5K running OS X10.2. Collections that were clear in LR4 appear badly blurred when opened in LR5.7.  What's,wrong?

    Upgraded from LR4 to LR5.7. Apparently successful download on iMac27" 5K running OS X10.2. Collections that were clear in LR4 appear badly blurred when opened in LR5.7.  What's wrong?

    Thanks, everyone, for your suggestions.
    John: I back up the catalogue (and optimize/check its integrity) every time I quit Lightroom - which is why excluding it from Time Machine isn't the end of the world. I did rename the catalogue early on in my troubleshooting process - as you say, I didn't like the fact I felt out of control of it.
    I tried synchronizing a folder that had some flags: when I'd done there were three flags in the folder. (I have unclicked - and clicked and then unclicked - the 'unsaved metadata' checkbox in View Options: as I say, Lightroom shouldn't be displaying these flags at all.)
    Rob: Thanks for understanding why I'm fretting! I've checked my XMP sidecars, as you suggest, and they have read and write privileges. I then checked the last-modified date on the XMPs that came up with flags after I'd synchronized that folder. One of them displayed the time I'd just synchronized the folder (it's one I haven't worked on apart from applying a blanket preset in LR2, and then a blanket update to PV2012 in LR4, as I've done to all the images I haven't yet worked on individually); the other two showed the time (I presume) I worked on them yesterday. I selected these three and applied command-S: they then showed, correctly, that they'd been modified a minute before. So far, that folder's now flag-free. (As I said in my original post, the flags sometimes do seem to vanish if I save enough times - and they're unpredictable, not necessarily appearing on the same images in a collection or folder as before I do I group save/clear conflict.)
    Mollysnoot: I don't see how the Mac OS would be doing this (although who knows - I'm not a software expert). I don't have any other programs open that can modify images. And since these flags can reappear instantly when I've dealt with the conflict - before I've had time to take a breath, even - I don't think they represent any actual modifications.

  • How do I open a .m4a file from Mail into Music app?

    How do I open a .m4a file from Mail into Music app?
    I mixed down a song from my band's latest session and saved it as a .m4a file (Apple AAC Audio format) and I e-mailed it to myself. Then on my phone I opened the e-mail message in Mail and held a long-press down on the attached .m4a file. But I do not see the option to open it up into the Music app. It only gives me the options of iMovie, WeChat, and USB Disk. Why would I want to open it up in those? It's a song. It should open up into the Music app so I can play it. What the heck?
    Please don't tell me that I have to use iTunes to do this and sync my phone to my computer, because I *do not* want to add these songs to my iTunes library. They are *practice session tracks* that I want to listen to then delete later when we have new versions.
    If there is no way to open them into the Music app, then is there a music player app I can get somewhere that will let me simply save audio files from Mail into it, and use it as a player for those songs? That's all I want to do.
    The only reasonable workaround I have found so far is to save them as .mp4 audio files, which the iPhone thinks are movies, so it lets me save them into the camera roll as Videos.
    Voice Memos would be acceptable as a place for them to be able to open into as well, but of course that's also not on the options list. Sigh.

    TJBUSMC1973 wrote:
    You'll have to use iTunes, add it to your iTunes library, then sync it.  You can always delete it from your iTunes library later.
    Why is that such an issue for you?
    Why do people insist on replying to threads without even reading the original post? I explained it there already!
    I don't have to use iTunes to save an image from Mail into my camera roll, or to save a PDF from Mail into iBooks. Why should I have to use iTunes to save a music file into Music app?
    But I'll repeat it since evidently you can't be asked to read the original posts before spamming a thread with questions that have already been answered. I *do not* want to add these songs to my iTunes library.
    My iTunes library is a sacred temple into which I only allow to enter the very best and highest-fidelity musical recordings of all time. I refuse to sully and soil my iTunes library with crappy practice mixdowns from my band, etc.
    Want to know why? Because I like to be able to hit "shuffle all" on my iTunes library and know that something that will improve my existence will emanate forth from this amazing device that I have invested thousands of dollars into (yes, I count my cell phone plan amongst the expenses).
    I shall not have the crappy burner mixdown tracks from my band's practice sessions come up every five songs (we generate TONS of these... literally hundreds... and they are all high-bitrate .m4a tracks in the 10-15 MB range). I let iTunes keep my music folder organized on my computer. It makes copies of everything being placed into it, and I don't want 159 GB of copies of burner tracks hiding like roaches throughout my temple. We don't name these files anything sensible (in fact the guy who mixes them down intentionally gives them random weird names) and they lack metadata. So there's no easy way to delete them back out of iTunes once they're in there. It's a huge pain; I used to do it, but I swore it off years ago and *I'm never going back!*
    The REAL question is, why does Apple force me to have to use iTunes—the most convoluted, kludgy piece of bloatware ever to issue forth from Cupertino—to do something as simple as adding an MP3 from Mail into the Music app on my phone? Why can't there be something simple—something equivalent to the Camera Roll inside the Music app, not only for the files I want to save from Mail, but also for my Garage Band exports, not to mention all the exports from all the various synthesizer, drum machine, and recording apps I use on a daily basis in iOS?
    It would be awfully nice to be able to play the songs I've recorded right in the Music app without having to go through the rigamarole of adding those files to my iTunes library, tagging them with metadata, syncing, etc. etc. yadda yadda yadda—just to delete them again as soon as I've synced so they don't pollute my computer's iTunes library!
    I bought Apple for ease of use, not so I would be forced to jump through a million hoops just do to something that ought to take one tap to accomplish!  That's ridiculous!

  • What happens to entities on layers when opening FH MX files in AI CS 5?

    Hi,
    when opening Freehand MX files with multiple layers - and multiple entities on these layers -, we figured out that all entities are to be found on the first layer (alphabetic sequence) in Illustrator. In other words: the entire structure of our FH document is completely destroyed and all entities are lying on only 1 layer.
    Did anyone of you encounter the same issue? And if so, did you find a solution to fix this problem?
    Many thanks for your assistance in advance!
    Greetings from sunny Germany,
    Andreas

    Monika,
    this occurs in any existing FH MX file we are opening in AI CS5. And we have hundreds of thousands of them. I don't think that our objects are somewhat "special" - just the regular types of paths, text etc.
    What I find really amazing is that all existing layers within the FH MX file are properly being migrated into the resulting .AI file. To me, this means that AI CS5 recognizes and translates the layer structure correctly. So far so good - apart from placing/leaving the existing objects on their respective layers.
    Strange, isn't it?

  • [SOLVED] KDE switches activities when opening a new File

    First off, I've been using KDE Plasma Workspaces for a few months now, and for the most part am largely satisfied.  Thanks to both the developers of KDE and to the contributors on Arch who made setting everything up a breeze.
    One thing that does annoy me however is how it switches Activities when opening  a new file, if the default application already has a running instance.  For instance, say I have one Activity which I am using as a development environment and have Kate open to view source.  Now I switch to a second Activity where I am working on editing style sheets for my web page and again wish to use Kate.  If I open Dolphin and click on one of my style sheets (launching Kate as the default editor) I will be switched back to my first Activity and have the style sheet opened in the already running instance of Kate. 
    To me this behavior is not ideal, I would rather have the DE spawn a new instance of kate for that Activity.  I've perused through some of the settings options but haven't seen anything obvious.
    Last edited by brewlius_cesar (2013-08-14 10:29:32)

    Thanks for the response schmidtbag, but these are both suggestions for opening a file in an existing instance of Kate, when I am looking to instead spawn a new instance (at least for the current Activity).  Also, these suggestions are specific to Kate, where I would like this behavior to extend across KDE.
    Maybe I am just making a big fuss over nothing,  but for me it seems more appropriate to spawn a new instance of a program if I click on a file from a file browser, such as Dolphin.  If I wanted to open a file in an already running instance of a program I would use Ctrl+O from that program, or drag the file over to the program as schmidtbag suggested.
    I'm thinking about reposting over at kde.org, I'll be sure to follow up back over here, no matter what the outcome is.

  • TS4435 Apple's temporary fix to drag each picture in iPhoto is not really a solution for a big pic file. Better to use the save all feature and save to a temporary place before importing it to iPhoto.

    Apple's temporary fix to drag each picture in iPhoto is not really a solution for a big pic file. Better to use the save all feature and save to a temporary place before importing it to iPhoto.

    Can you explain why the image size matters when dragging and dropping into iPhoto?

  • Office 2013 applications cannot be made to show the "Documents" folder when opening and saving files

    (Windows Server 2012R2 and Windows 8.1 PRO)
    We are redirecting the user's "Documents" folder to the network (using Folder Redirection). The OS hides this fact however, and most applications simply see the "Documents" folder when opening or saving files, including Office 2003.
    Office 2013 however displays the actual path, which in this case is:
    \\sever1\redirect$\username\documents
    Even if you forcibly set the "Default local file location:"  in the Options Save area to the 'Documents' folder in, say, Word, Word immediately converts the local path to the network path.
    Is there anyway to get Office 2013 to follow the virtual path? All of other apps follow it and expose the users only to "Documents".
    Thank you so much.
    Dana

    There's nothing in my FAQ concerning screen savers, so I'm unsure why you decided to take that approach. From your description, it looks like you only tried a few of the suggestions before throwing in the towel. That's fine, it's your call.
    I don't have the problems you described with 10.4.7. Usually when folks have problems after an update, these are caused by either installing an update on an already-corrutped system or they've installed third-party applications or hardware that have been rendered incompatible by the update.
    Before installing software updates, you may wish to consider the advice in my "Installing Software Updates" FAQ. Taking the steps therein before installing an update often helps avert problems and gives you a fallback position in case trouble arises.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Error when opening table container file keydb read only

    Hi Guys,
    We are installing solution manager 4.0 on windows/sql but we are getting following error and couldnt continue the installation
    FKD-00070  Error when opening table container file C:\PROGRA1\SAPINS1\SOLMAN\SYSTEM\MSS\CENTRAL\AS\keydb.xml for writing. Possible reason: "read-only"
    ERROR 2008-06-04 20:10:56.843
    FKD-00049  XML - Parser error: error: no DTD specified, can't validate in line 1, 1
    in file C:\Program Files\sapinst_instdir\SOLMAN\SYSTEM\MSS\CENTRAL\AS\keydb.xml.
    Please help
    Regards,
    Santosh

    Further info
    keydb.xml is empty and the directory has got write access for everyone
    regards
    Edited by: Santosh Keerti on Jun 4, 2008 1:29 PM

  • Adobe reader XI crash and hangs when open the pdf file

    After update the adobe reader xi 11.0.10, the reader always crashes and hangs when open the pdf file. Please help me how to do.

    Ben Leung wrote:
    HThis situation is started after I clear the pop up advertisement.
    What kind of advertisement?  In Adobe Reader?  Can you post a screenshot of that: https://forums.adobe.com/thread/1070933
    Regarding the crash, can you try disabling Protected Mode through the registry: download, unzip, then run the registry script https://files.acrobat.com/a/preview/49eeb48b-07c5-4502-984c-8a25259914fa

  • Accept the enduser license agreement when opening a pdf file in the internet

    I have launched adobe reader when opening a pdf file in the internet i get the following error message
    Bevor proceeding ou must first launch adobe Acrobat and accept the Enduser license agreement
    am user of a mac book pro

    Kaliber wrote:
    Before proceeding you must first launch Adobe Acrobat and accept the Enduser license agreement.
    And, did you do that?  The message will no longer occur once you opened Adobe Reader & accept the EULA.

  • When opening a msword file wit .doc extension i get an error message: import error. The file format is not valid

    when opening a msword file with .doc extension i get an error message: import error. The file format is not valid

    Looks like. I tried in the TextEdit format tab to set all the combinations while opening the file, like plain text, rtf and html without success. Always I get the same signs.

  • Why does IE crash when opening a pdf file ?

    Why does IE crash when opening a pdf file ?

    I think this is done by the browser when it is saving a temporary file and there's already a file with that exact name in the temp folder.

  • Missing fonts warning when opening a Keynote file

    I'm using Keynote 2.0.2 on a Mini Mac. Having searched for an answer to the ubiquitous "Missing Font" problem when opening a Keynote file, I was wondering if upgrading to the latest version would solve this problem. Unless it does, we would have to think twice about upgrading the software. A lot of users seem to have the problem with version 3 too. Does anyone have a solution to this? The presentation runs perfectly well, but the warning message is annoying and doesn't look nice when presenting to clients. HELP!
    1.42 GHz Mac Mini PPC G4   Mac OS X (10.4.8)   1GB DDR SDRAM

    I've experience this same problem multiple times. There is a way to get rid of the troublesome font, thereby getting rid of the annoying message. I may be glossing over a step or two, but it goes something like this:
    (1) In the Finder, right click on the Keynote file and select "Show Package Contents"
    (2)Locate the index.apxl.gz file and open it. The file exands -- then open the index.apxl file with Textedit (or Word). Throw away the gz file.
    (3) Do a search and replace -- find all instances of the troublesome font name and replace it with a non-troublesome font name, such as GillSans
    (4) Close the text file.
    Opening the Keynote file should now proceed normally. Note: Better practice this on a dummy file until you are sure everything works. I imagine that if you muck up the index file that the orignial Keynote file might be toast!
    Rob
    Black Macbook   Mac OS X (10.4.7)  

Maybe you are looking for

  • Itunes crashing not able to open in Mavericks , even 11.1.3 what to do ?

    Process:         iTunes [868] Path:            /Applications/iTunes.app/Contents/MacOS/iTunes Identifier:      com.apple.iTunes Version:         11.1.3 (11.1.3) Build Info:      iTunes-1113011001003008~1 Code Type:       X86-64 (Native) Parent Proces

  • Flex and Zend amf deployment resolved with proper solution

    Hi All, Although, I personally do not like using Zend for these issues itself. However, I faced this issue first time with flex 4.0 version when everyone used to run into channel disconnected error. you can find the link for that post here: http://fo

  • How to read big files

    Hi all, I have a big text file (about 140MB) containing data I need to read and save (after analysis) to a new file. The text file contains 4 columns of data (so each row has 4 values to read). When I try to read all the file at once I get a "Memory

  • Macbook pro 2007

    I have an older macbook pro 2007 and imac intel 2006 model.  What if any issues should I be aware of if I upgrade to Lion and what will not work with my computers.  So far, I have read that my Microsoft office 2004 will not work and possibly my wirel

  • Error Playing Movie

    I have a new iphone that I bought and activated in the States. Im now located in China and will be here for a couple of months. When I go to YouTube on the main screen, the iphone takes me there. When I attempt to play any movie I get an error messag