Speed issues in file parsing

Hi everyone
I am a commercial developer who is relatively new to Java technology. My company has just finished the initial version of a servlet-based web program which is designed to interact with a MySQL database.
We are having a major performance issue, however. The servlet works by reading a raw HTML file on the server, and looking for field names (suggested by a marker). When it finds one, it replaces it with data from a resultset.
One of the most common replacements is for an autotext field. We have a problem however, in that one of our clients has 5000 records, and the program is taking nearly 30 seconds (on a Pentium 3 800mhz, 500meg ram, running nothing else except Apache Tomcat 4.03) to do the lines of code which send the resultset to the html. Specifically, it does this -
1. Reads the first entry in a vector.
2. Adds a line to a new vector which contains the (revised) html code.
3. Reads the next entry
and so on for 5000 records, and then, later,
1. Reads the first entry from the html (revised) vector
2. out.println's the line to the HTMLServerresponse/
3. Reads the next entry
for 5000 records.
In my thinking, reading a line of text and writing it to another vector should be faster than 10,000 records per 30 seconds.
Any suggestions?
Brendan

Hi.
1. Replace your Vectors with ArrayLists. This will stop mutexes having to be grabbed all the time
2. Make sure your file processing and output uses buffers (BufferedInputStream/ BufferedOutputStream/ BufferedReader/ BufferedWriter) - this may make a significant difference
But it sounds to me that what you are trying to do is treat the HTML as a template. You'd be better off using JSPs or Jakarta's Velocity stuff.
Regards,
Lance
Lance Walton - [email protected]
Team In A Box - Software without Tragedy
http://www.teaminabox.co.uk

Similar Messages

  • Speed issues deleting files on a converted partitons (ext3-- ext4)

    @ loudtiger - I started this topic in reply to your questions posted here since they are off topic and I wanted to help keep the signal-to-noise up for the original thread.
    loudtiger wrote:slightly unrelated, does anyone find that deleting a particularly large file takes a long time? i'm talking about 4-10gb files, on an ext3-> ext4 partition. say, wasn't there supposed to be a defrag tool for extents?
    Ext3 is SLOW to delete large files.  Ext4 is MUCH better but if you converted an existing ext3 partition, you won't benefit from the speed gains.
    graysky wrote:For the speed advantages to be realized, you have format the partition in question to ext4, then copy the files back... that is my understanding.  Otherwise, 'converted' files are still extent-less.
    http://bbs.archlinux.org/viewtopic.php?id=69529
    As to the online defragmenter for ext4, kernel 2.9.30 was rumored to have support for one, but I don't know if it'll make it in there or not.  You can google for this and find more.
    Last edited by graysky (2009-04-28 21:39:51)

    You can use rsync for this if you want.
    Example:
    rsync -avxu --progress /home /media/backup/home

  • Iteration Speed issue when Indexing 3D array wried to a while-loop

    Brief Description of my Program:
    I am working on the real-time signal generation by using LabView and DAQmx (PCI-6110 card). My vi reads the big data file (typically 8MB txt file containing about 400,000 samples (complex double precision). Then, the signal is pre-processed and I end up with a huge 3D array to feed while-loop (typically 3D array dimension is N x 7 x M where N & M >> 7). Inside the loop, that 3D array is indexed and processed before the results are written to the DAQmx outputs. I have a speed issue when indexing the large 3D array (i.e, 3D array having a large sub-array size). My while-loop could not run fast enough to top-up the DAQmx AO buffer (at the output rate of 96kHz). It could run faster only if I use smaller 3D array (i.e, smaller-sized sub-arrays). I do not quite understand why the size of 3D sub-array affects the rate of looping although I am indexing same sub-array size at each iteration. I really appreciate your comments, advices and helps.
    I include my 3D array format as a picture below.
    Question on LabView:
    How does indexing an 3D array which wires to the while-loop affect the speed of the loop iteration? I found that large dimension of sub-arrays in the 3D array slows down the iteration speed by comparing to indexing the same size of sub-array from smaller-sized sub-arrays of the 3D array to perform signal processing inside the while-loop. Why? Is there any other way of designing LabView Program to improve speed of iteration?
    attachment:

    Thank you all for your prompt replies and your interests. I am sorry about my attachment. But, I have now attached a jpg format image file as you suggested.
    I had read the few papers on large data handling such as "LabVIEW Performance and Memory Management". Thus, I had already tried to avoid making unnecessary copies of data and growing arrays in my while-loop. I am not an expert on LabView, so I am not sure if the issues I have are just LabView fundamental limitations or there are any other ways to improve the iteration speed without reducing the input file size and DAQ output rate.
    As you request, I also attach my top-level vi showing essential sections such as while-loop and its indexing. The attached file is as an image jpg format because the actual vi including Sub-VIs are as big as 3MB in total. I hope my attachment would be useful for anyone who would like to reply my question. If anyone would like to see my whole vi & llb files, I would be interesting to send it to you by an e-mail privately and thus please provide your e-mail address.
    The dimension of my 3D array is N x 7 x M (Page x Row x Column), where N represents number of pages in 3D array, and M represents the size of 1D array.  The file I am currently using forms 3D array of N = 28, & M = 10,731.  Refering to the top-level vi picture I attached, my while-loop indexes each page per iteration and wrap-around.  The sub-VI called "channel" inside the while-loop will further index its input (2D array) into seven of 1D arrays for other signal processsing.  The output from that "channel" sub-VI is the superposition of those seven arrays.  I hope my explaination is clear. 
    Attachement: 3Darray.jpg and MyVi.jpg
    Kind Regards,
    Shein
    Attachments:
    3Darray.jpg ‏30 KB
    MyVI.jpg ‏87 KB

  • Windows 7 64bit speed issues

    Hi,
    Our company have been purchasing iMacs for the past 4-5 years and installing Windows XP without any problems.  Last year we started installing Windows 7 64 bit onto, the then current, leopard model without any issues.
    We have recently purchased a whole batch of i5 iMacs with lion installed. I have installed Windows 7 64 bit without any problems but have started noticing huge slowdown with what seems to be hard drive access o every single machine.  Even a single one we purchased when they first came out.
    Using Perfmon I cant see any stress on the CPU, GFX card or RAM but there seems to be something odd with the hard drive access.  I have stripped Windows 7 down to its bare minimum services removing Aero, themes, and all non essential services but still the speed issues occur.
    I have messed around with the pagefile size, indexing, etc, but nothing is having any impact.
    For example, when I save a simple spreadsheet the saving window appears in Windows 7 with the spinning circle for around 30 seconds.  This is a tiny file, why is it taking so long.  Its virtually instant if done on a Windows XP bootcamp machine or even in Windows 7 on an older Leopard iMac.
    There really isnt a great deal regarding this problem oin the internet but it has occurred on all the new i5 Lion iMacs we have.
    Does anyone have any other suggestions (serious ones ) that I could try?
    I am currently installing the 32 bit version to see if it is a driver issue.
    Cheers

    isn't apple now using propritary drive firmware in 2011 imac?
    I suspect 30 sec is drive delay spinup and is frequently happens with green drives, I have some and do this. swap for WD black or something.
    www.hardmac.com talks about imac drives

  • 'Import file parsing exception' while importing BIAR file

    Hi All,
    We use Java WebServices SDK for integrating our product with Business Objects. For installing the reports we use the InstallEntSDKWrapper jar to copy the BIAR file containing the reports on to the BO server. Till now we were using BO XI R2 and everything works fine.
    But now we have decided to upgrade to BO 3.0 and the reports install no longer works. Here is the error that we get -
    [InstallEntSdkWrapper.main] Connecting to CMS rwc-1950-120:6400 as administrator
    [InstallEntSdkWrapper.CmsImportFile] Exception: Import file parsing exception
    curred : 'Type info incomplete'
    [InstallEntSdkWrapper.main] BIAR File could not be imported
    Any idea what might be going wrong here? We are trying to import the same BIAR file that were created with the earlier BO version to the 3.0 version server. Couple of questions that I have is -
    1. Do we need to repackage the BIAR with 3.0 before attempting to install it? Are there any issues with trying to install a BIAR which is of older BO version?
    2. Do we need to add/modify any library (jar) in the runtime to get rid of the exception?
    Thanks for all the help.
    Regards
    Manas
    Edited by: Manas Mandlekar on Dec 23, 2009 1:34 AM

    Lucas,
    I have not seen this issue before. We'll investigate and contact you directly for more info. I'll post the resolution back to this forum once available.
    Doug

  • Audio pitch / playback speed issue, MacBook Pro 10.4.10

    I experienced a very strange audio pitch and speed issue that affected a recording I was making in Ableton Live 6.0.3.
    Setup is MacBook Pro 2.16GHz, Mackie Onyx Satellite FW interface for audio, recording straight to internal HD.
    I made two multitrack recordings (3-4 tracks each) which played back fine initially within Live. I then rendered the audio to AIFF in order to burn data and audio CDs.
    Testing the playback in iTunes, the audio was strangely pitched lower than what we originally recorded. Checking other tracks from my iTunes library, they were playing back FASTER or higher-pitched than normal, and so did audio streamed from MySpace that I was familiar with.
    CDs burnt from these AIFFs exhibited the same "lower pitch" / slower playback.
    Reopening the Live Set, they were now also playing back lower pitched than what we had heard just minutes beforehand during the recording / mixing.
    After I let the computer sleep for a few hours, I came back and checked -- system and internet audio was now playing back at normal speed, but the Live Set was still lower-pitched - the individual WAV files in the set were all pitched lower.
    The Live recording prefs were stock standard - set to record 24 bit WAV at 44.1Khz. Since the issue seemed to affect non-Live audio as well, I'm guessing it was something more at the CoreAudio level?
    I managed to salvage the session by taking the exported AIFFs into Tracktion 3 and using the pitch change function in the Clip Properties pane. One track was 1.5x off, the other was 1.125x off.
    I'm at a complete loss as to why this would happen. It's a first (and hopefully only) occurrence. Has anyone had this happen to them? Could this be some sort of intermittent hardware (clock) glitch? Something to do with 6.0.3 and OS 10.4.10?
    I do need to take this MacBook Pro in for servicing - it experienced the "bulging battery" issue and has a partially dead keyboard (the keys near the upper right) - but even with those issues I've not had audio issues like this.

    In any case, if my Mac had problems, I'd send it in for service....!!!
    About your problem, I don't think that it depends on hardware.
    I'd check Live configuration and the SR of the audio files: you know, Live has so many features to modify speed and a lot of other parameters that bacomes easy to forget something.
    Try recording something with Garage Band so you will be sure if there is a real problem.
    cheers
    rob

  • Another Yosemite speed issue

    This is yet another Yosemite speed issue. I've done some reading around and read the FileVault can cause an issues, I took a look and I've always have FileVault disabled.  I installed EtreCheck and the results came up with a lot of RED and "FAILED". Unfortunately, I have no clue how to being to read this and was hoping someone could shed some light onto this for me.
    Here are my results: (Just trying to right-click and paste this took almost a minute)
    Problem description:
    Installed OS X Yosemite and now Macbook runs extremely slow. I have had FileVault disabled the entire time.
    EtreCheck version: 2.0.11 (98)
    Report generated November 13, 2014 at 12:26:09 PM EST
    Hardware Information: ℹ️
      MacBook (13-inch, Late 2009) (Verified)
      MacBook - model: MacBook6,1
      1 2.26 GHz Intel Core 2 Duo CPU: 2-core
      2 GB RAM Upgradeable
      BANK 0/DIMM0
      1 GB DDR3 1067 MHz ok
      BANK 1/DIMM0
      1 GB DDR3 1067 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      NVIDIA GeForce 9400M - VRAM: 256 MB
      Color LCD 1280 x 800
    System Software: ℹ️
      OS X 10.10 (14A389) - Uptime: 23:21:15
    Disk Information: ℹ️
      TOSHIBA MK2555GSXF disk0 : (250.06 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted> : 210 MB
      Macintosh HD (disk0s2) /  [Startup]: 249.20 GB (143.68 GB free)
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      MATSHITADVD-R   UJ-898
    USB Information: ℹ️
      Apple Inc. Built-in iSight
      Apple Inc. BRCM2070 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. Apple Internal Keyboard / Trackpad
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /System/Library/Extensions
      [not loaded] com.devguru.driver.SamsungComposite (1.4.25 - SDK 10.6) Support
      /System/Library/Extensions/ssuddrv.kext/Contents/PlugIns
      [not loaded] com.devguru.driver.SamsungACMControl (1.4.25 - SDK 10.6) Support
      [not loaded] com.devguru.driver.SamsungACMData (1.4.25 - SDK 10.6) Support
      [not loaded] com.devguru.driver.SamsungMTP (1.4.25 - SDK 10.5) Support
      [not loaded] com.devguru.driver.SamsungSerial (1.4.25 - SDK 10.6) Support
    Problem System Launch Agents: ℹ️
      [failed] com.apple.CallHistoryPluginHelper.plist
      [failed] com.apple.CallHistorySyncHelper.plist
    [failed] com.apple.cloudd.plist
      [failed] com.apple.cmfsyncagent.plist
      [failed] com.apple.coreservices.appleid.authentication.plist
      [failed] com.apple.EscrowSecurityAlert.plist
      [failed] com.apple.gamed.plist
      [failed] com.apple.Maps.pushdaemon.plist
      [failed] com.apple.nsurlsessiond.plist
      [failed] com.apple.telephonyutilities.callservicesd.plist
      [failed] com.apple.xpc.loginitemregisterd.plist
    Problem System Launch Daemons: ℹ️
      [failed] com.apple.AssetCacheLocatorService.plist
      [failed] com.apple.awdd.plist
      [failed] com.apple.ctkd.plist
      [failed] com.apple.findmymac.plist
      [failed] com.apple.icloud.findmydeviced.plist
      [failed] com.apple.ifdreader.plist
      [failed] com.apple.nehelper.plist
      [failed] com.apple.nsurlsessiond.plist
      [failed] com.apple.periodic-daily.plist
      [failed] com.apple.softwareupdate_download_service.plist
      [failed] com.apple.systemstats.analysis.plist
      [failed] com.apple.wdhelper.plist
      [failed] com.apple.xpc.smd.plist
    Launch Agents: ℹ️
      [loaded] com.google.keystone.agent.plist Support
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist Support
      [loaded] com.google.keystone.daemon.plist Support
      [loaded] com.microsoft.office.licensing.helper.plist Support
    User Launch Agents: ℹ️
      [loaded] com.adobe.ARM.[...].plist Support
      [loaded] com.macpaw.CleanMyMac.helperTool.plist Support
      [loaded] com.macpaw.CleanMyMac.trashSizeWatcher.plist Support
      [loaded] com.macpaw.CleanMyMac.volumeWatcher.plist Support
    User Login Items: ℹ️
      smcFanControl Application (/Applications/smcFanControl.app)
      Dropbox Application (/Applications/Dropbox.app)
      Mail Application (/Applications/Mail.app)
      KiesAgent ApplicationHidden (/Applications/Kies.app/Contents/MacOS/KiesAgent.app)
      fuspredownloader ApplicationHidden (/Users/[redacted]/Library/Application Support/.FUS/fuspredownloader.app)
    Internet Plug-ins: ℹ️
      o1dbrowserplugin: Version: 5.38.6.0 - SDK 10.8 Support
      Default Browser: Version: 600 - SDK 10.10
      npTGEQPlugin: Version: 7.5.1 Support
      Silverlight: Version: 5.1.20513.0 - SDK 10.6 Support
      FlashPlayer-10.6: Version: 15.0.0.152 - SDK 10.6 Support
      Flash Player: Version: 15.0.0.152 - SDK 10.6 Mismatch! Adobe recommends 15.0.0.223
      QuickTime Plugin: Version: 7.7.3
      googletalkbrowserplugin: Version: 5.38.6.0 - SDK 10.8 Support
      SharePointBrowserPlugin: Version: 14.4.3 - SDK 10.6 Support
      AdobePDFViewer: Version: 9.5.5 Support
      iPhotoPhotocast: Version: 7.0 - SDK 10.8
      JavaAppletPlugin: Version: 15.0.0 - SDK 10.10 Check version
    User Internet Plug-ins: ℹ️
      fbplugin_1_0_3: Version: (null) Support
      ATTConnectEventEntry: Version: 1.0.0 - SDK 10.6
      fbplugin_1_0_1: Version: (null) Support
    Safari Extensions: ℹ️
      Searchme
      Slick Savings
      Amazon Shopping Assistant
      Ebay Shopping Assistant
    3rd Party Preference Panes: ℹ️
      Flash Player  Support
    Time Machine: ℹ️
      Skip System Files: NO
      Mobile backups: OFF
      Auto backup: NO - Auto backup turned off
      Volumes being backed up:
      Macintosh HD: Disk size: 249.20 GB Disk used: 105.52 GB
      Destinations:
      Time Machine Backups [Local]
      Total size: 0 B
      Total number of backups: 0
      Oldest backup: -
      Last backup: -
      Size of backup disk: Too small
    Backup size 0 B < (Disk used 105.52 GB X 3)
    Top Processes by CPU: ℹ️
          3% Google Chrome
          2% WindowServer
          1% coreaudiod
          0% airportd
          0% smcFanControl
    Top Processes by Memory: ℹ️
      84 MB Google Chrome Helper
      79 MB Google Chrome
      43 MB Finder
      39 MB mds
      32 MB Mail
    Virtual Memory Information: ℹ️
      79 MB Free RAM
      571 MB Active RAM
      447 MB Inactive RAM
      385 MB Wired RAM
      46.88 GB Page-ins
      1.25 GB Page-outs

    Uninstalling Software: The Basics
    Most OS X applications are completely self-contained "packages" that can be uninstalled by simply dragging the application to the Trash.  Applications may create preference files that are stored in the /Home/Library/Preferences/ folder.  Although they do nothing once you delete the associated application, they do take up some disk space.  If you want you can look for them in the above location and delete them, too.
    Some applications may install an uninstaller program that can be used to remove the application.  In some cases the uninstaller may be part of the application's installer, and is invoked by clicking on a Customize button that will appear during the install process.
    Some applications may install components in the /Home/Library/Applications Support/ folder.  You can also check there to see if the application has created a folder.  You can also delete the folder that's in the Applications Support folder.  Again, they don't do anything but take up disk space once the application is trashed.
    Some applications may install a startupitem or a Log In item.  Startupitems are usually installed in the /Library/StartupItems/ folder and less often in the /Home/Library/StartupItems/ folder.  Log In Items are set in the Accounts preferences.  Open System Preferences, click on the Accounts icon, then click on the LogIn Items tab.  Locate the item in the list for the application you want to remove and click on the "-" button to delete it from the list.
    Some software use startup daemons or agents that are a new feature of the OS.  Look for them in /Library/LaunchAgents/ and /Library/LaunchDaemons/ or in /Home/Library/LaunchAgents/.
    If an application installs any other files the best way to track them down is to do a Finder search using the application name or the developer name as the search term.  Unfortunately Spotlight will not look in certain folders by default.  You can modify Spotlight's behavior or use a third-party search utility, EasyFind, instead.
    Some applications install a receipt in the /Library/Receipts/ folder.  Usually with the same name as the program or the developer.  The item generally has a ".pkg" extension.  Be sure you also delete this item as some programs use it to determine if it's already installed.
    There are many utilities that can uninstall applications.  Here is a selection:
        1. AppZapper
        2. AppDelete
        3. Automaton
        4. Hazel
        5. AppCleaner
        6. CleanApp
        7. iTrash
        8. Amnesia
        9. Uninstaller
      10. Spring Cleaning
    For more information visit The XLab FAQs and read the FAQ on removing software.

  • VPN Speed Issue

    Hi all,
    I am having a VPN speed issue. When I am using the internet and not connected to the VPN, I experience speeds of 25mbps/25, which is what my contract with Verizon calls for. When I connect to the VPN with my laptop, speeds drop to about 3/2 mbps. (I am connected via Ethernet hardwire not wireless)
    I ran Ethernet wire to the Verizon box and then had Verizon activate. Unfortunately this did not solve my problem. Internet is fine until I connect to the VPN.
    I also was able to conduct a test: I connected wireless to an open local network while in the office and then to my work server via the VPN with no noticeable speed issues. This leads me to believe the issue lies with the Actiontec router issued from Verizon?
    I only work remotely 1x per week so have been hobbling along with this problem for the past 3 months since our switch from Comcast. (Speed was fine with Comcast ) It is painful as it causes a 5-10 second lag for each click when navigating folders on the remote server. This means it can take me 5 minutes to pull down one PDF file.
    Is there a suggested solution for this - should I buy another router?
    thanks,
    Steve

    No, usually, you dont have to wait. You do have to log into the router and go in and release the IP, but most of the time this is all you have to do.
    Once in a while it wont release properly, in which case you do have to wait a couple of hours. But most of the time it will release just fine.
    ====================================================================================
    Error exists between keyboard and chair.

  • 2 problems with EA6300 both speed issue's

    I got my EA6300 for a while now, overall for what it is used its doing ok.
    Though recently i had to add a tv box to my network.
    Connecting it to the router would not work, since it did not get a IP.
    So i was forced to put a switch before the router.
    So the network cable with the internet signal on it is first connected to the switch to which the tv box is also connected.
    Then a cable supplying internet goes to the router, and another cable which is connected to my desktop pc.
    Both router and switch are all gigabit ports, so that is one thing to rule out.
    The PC is connected to the switch because if i connect it to the router then speed seems to be capped at 100mbit, while it should be capped at 1000mbit with the gigabit ports.
    The PC network is gigabit also, and with a 100mbit cap i cap my internet also since it is faster then that.
    So that is why i had to connect the PC to the switch.
    Could adding a 4 port gigabit switch make the router cap the amount of speed it lets through?
    Because this seems to have started when i added the switch, before that everything was fine.
    Then problem 2.
    To the router i got a external 2TB hard disk connected.
    For whatever reason i cannot get any faster transfer rate then 2mb/s when moving files from desktop to the HD.
    Most times it is just barely getting 1mb.
    This is over the regular windows network, maybe that is the main issue?
    Any help would be much appreciated.

    Sevy wrote:
    I managed to fix the speed issue from the router to the PC.
    Though still unsure why wired the transfer rate is so slow.
    From the drive to the desktop i get about 18mb/s which isn't to bad.
    But from the PC to the drive its now getting just below 10mb/s.
    Check if the slow wired transfer speed happens on all wired devices in the network. Upgrade the firmware of the router as well. 

  • WRT54G ver 7 speed issues.

    Hi all.
    Let me go through the issue I have come across tonight. I have a WRT54G version 7 cable router, and I have Telewest as my ISP, with the 4Mb service. My computer is hard wired into the router, and have no wireless clients connected at the time. I get packet loss, (quite a bit) and my download speeds are abismal. Setting my computer to dhcp or fixed IP makes no difference. I even forced 100 Full duplex on the LAN card just to be sure. I phoned up TW tech support, and they were pretty helpful, and asked me to bypass the router, and plug directly into the modem and turn dhcp on my pc and reboot the modem.
    All works fine, no speed issues, download test from here is perfect. They asked me to download something off their server here http://gamefiles.blueyonder.co.uk and I am getting full 480kB/s And here is the test plugged right into the modem http://www.thinkbroadband.com/speedtest/results/id/117018476054017621619.html
    Happy days, right? Problem with the router, right?
    Well.. It gets interesting.
    I then do a firmware update on the router, reset it to factory defaults, and re-run the test going through the router. Here is the pitiful result., which is the same as before. http://www.thinkbroadband.com/speedtest/results/id/117018491367303621734.html
    Ok... so problem with the router still... right?
    I tried the blueyonder file download, and guess what... 480KB/s again, downloaded a 5 meg file in about 12 seconds.
    What I have tried:
    Forcing the LAN to 100Meg full duplex
    Firmware upgrade on the router
    Reset router to factory defaults
    Rebooted pc, router and modem at the same time.
    Use a static IP with correct settings (same speed)
    Use DHCP through the router
    Connected directly to the cable modem and use DHCP (works fine)
    PC windows xp SP2 fully patched.
    No software firewalls. (at any time)
    Disabling UPNP on the router
    Turned flow control off on the LAN adapter (shouldnt be on in the first place, thats half duplex >.)
    I cant see why my computer downloads from blueyonder fine with no speed issues at all, and yet any other website, I get extremely poor performance. This router has been working fine for about a month now, just needed a few reboots once in a while, but which router doesnt. My upload speeds seem pretty constant, and dont seem to vary regardless of router or not. Seems like inbound traffic is getting jammed.
    Anyone able to shed some thought? Sorry for the wall of text, just thought I would let you know everything on the first post instead of having to reply a dozen times.

    try TCP Optimiser .. This should adjust the MTU settings of the NIC on the PC ...

  • Issue with File Download(messageDownload) on Search Page.

    Hi,
    I created a custom OAF search page which fetches values from one table. The document in getting stored in my custom table in a BLOB colums and NOT in FND_LOBS.
    The table has 3 collumns along with others:
    1st is primary key (Record_Seq) ==> number data type
    2nd to store actual file name (File1Name) ==> varcahar2 data type
    3rd to store the actual uploaded data (File1Data) ==> BLOB data type
    The reason for having the “File1Name” is so that I can display the original file name of the document that was uploaded, instead of just the “view” in the search page results .
    On the File1Data BLOB and created a messageDownload for that under query results table with following details:
    ID : File1Data
    ItemStyle : messageDownload
    FileMIME Type : pdf
    Datatype : BLOB
    View Instance : LacEmpExposureVO1
    view Attribute : File1Name
    File View Attribute : File1Data
    When I click on the "File1Name" data hyperlink, it is opening only the first document corresponding to the first record in the search page results.
    For example, If my search page returns 10 rows then when I click on the file1name on any row, It is open the first row file name only.
    I have a primary key column(RECORD_SEQ) in the Table / EO / VO which is displayed in the search page results.
    Also one weird thing is happening:
    If I try to do this more than 2 times then it is opening the update page with the first record from the search page results…
    I tried to print the context and it is nul the first time, But the second time then context is changing to "update". Dont know how this is happening????
    Any advice is greatly appreciated as it is very crucial for me to get this resolved ASAP. I have looked at several forums and did a lot of things as advised in the forums . But nothing seems to work for me.
    Thanks,
    Mir
    CO code for the search page
    ===========================
    if (pageContext.getParameter("Create")!= null)
    System.out.println("Into LacEmpExposureCO in PROCESS FORM REQUEST with Context of CREATE");
    pageContext.setForwardURL
    ("OA.jsp?page=/lac/oracle/apps/lac/lacempexposure/webui/LacEmpExposureCreatePG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, //Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
    OAWebBeanConstants.IGNORE_MESSAGES);
    else if ("update".equals(pageContext.getParameter(EVENT_PARAM)))
    System.out.println("Into LacEmpExposureCO in PROCESS FORM REQUEST with Context of UPDATE");
    System.out.println("LacEmpExposureCO ==> RecordSeq in PROCESS FORM REQUEST is: " + RecordSeq);
    HashMap params = new HashMap(1);
    params.put("RecordSeq", RecordSeq);
    pageContext.setForwardURL
    ("OA.jsp?page=/lac/oracle/apps/lac/lacempexposure/webui/LacEmpExposureUpdatePG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    params,
    true, //Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO, // Do not display breadcrumbs
    OAWebBeanConstants.IGNORE_MESSAGES);
    else {           
    String strEvent = pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM);
    System.out.println(strEvent);
    System.out.println("Into the last ELSE part in LacEmpExposureCO.java");

    Duplicate post -- Issue with File Download(messageDownload) on Search Page.

  • Speed Issues

    Greetings and Salutations,
    I'm having speed issues with my Adobe AIR application. From what I've read on the web, AIR is supposed to be fast at drawing graphics. I am writing an application which has multiple screens. On one of the screens I have a tab (SuperNavigator) which has a canvas on it. That canvas has a series of other canvases (built with a repeater) that have graphics in them. I am having speed issues when I have more than 50 of these children canvases. I've tried running it without the graphics (code below is without the graphics) to see how it performs. When I have 954 of these canvases being drawn it takes about 2.5 minutes to draw. This is unacceptable and I'm wondering if this is something I've induced or if AIR was never meant to handle such a large amount of canvases (actually this isn't a large amount, in a real world environment there could be a lot more). I've included relevant clips from the code. There are a couple empty boxes that in the real application will hold graphics.
    The class withing the Tab Navigator is a canvas.
    In the action Script (the setter line takes 2.5 minutes to get past) (it's binding to the repeater that seems to be my problem).
    [Bindable]  private
    private  var _assetList:Array;
    [Bindable]  
    public function get timelineAssetList():Array{ 
         return this._assetList;
    public function set timelineAssetList(ac:Array):void{ 
         this._assetList = ac;
    The MXML code that is being bound to:
     <mx:Canvas id="labelCanvas" left="0" right="0" top="0" height="65" verticalScrollPolicy="off" scroll="scrolling(event)">
          <mx:HBox horizontalGap="1" left="10" right="10" top="10">  
              <mx:Spacer width="2"/>  
                <mx:Canvas width="{getHeaderWidth()}" height="40" borderStyle="solid" borderColor="{StaticVariables.borderColor.getColorUint()}" horizontalCenter="0">
                <PastDataView:ColorBarScale id="scale" bottom="10"/>   
         </mx:Canvas>  
              <mx:Canvas width="20" height="40">  
                   <mx:Spacer width="20" />  
              </mx:Canvas>  
         </mx:HBox>  
    </mx:Canvas>
    <mx:Canvas id="assetCanvas" left="0" right="0" bottom="0" top="65" scroll="scrolling(event)">
         <mx:VBox y="10" right="16" left="10" verticalGap="0">  
              <mx:Repeater id="assetRepeater" dataProvider="{timelineAssetList}">  
                   <mx:HRule width="100%"/>
                   <PastDataView:ColorBarBar  id="barArray" width="100%" height="170" asset="{assetRepeater.currentItem}"/>  
              </mx:Repeater>
         </mx:VBox>  
    </mx:Canvas>
    The ColorBarBar consists of:
    <?xml version="1.0" encoding="utf-8"?><mx:Canvas  xmlns:mx="http://www.adobe.com/2006/mxml" width="400" height="300" xmlns:PastDataView="org.XXXXXX.CenterScreen.PastDataView.*" horizontalScrollPolicy="off" click="clicked()">
         [Bindable] 
         public static var _colorBarHeight:int = StaticVariables.colorBarHeight;
         [Bindable] 
         private var _asset:Object;
         [Bindable] 
         public function set asset(a:Object):void{ 
              this._asset = a;          getBackgroundColor();
         public function get asset():Object{ 
              return _asset;     }    
          private function getBackgroundColor():void { 
              var color:String = asset.color; 
              if (color == null) color = "Black"; 
              if( color.toLowerCase() == "blue" ) {
                   lblAssetTag.setStyle("color", 0x1674cc);               lblAsset.setStyle(
    "color", 0x1674cc);          }
    else if( color.toLowerCase() == "red" ) {
                   lblAssetTag.setStyle("color", 0xe35353);               lblAsset.setStyle(
    "color", 0xe35353);          }
    else if(color.toLowerCase() == "grey" || color.toLowerCase() == "gray") {               lblAssetTag.setStyle(
    "color", 0xe55555);               lblAsset.setStyle(
    "color", 0xe55555);          }
    else { // give it a default color                lblAssetTag.setStyle(
    "color", 0x000000);               lblAsset.setStyle(
    "color", 0x000000);          }
          private function calculateActivityRepeaterHeight():int{ 
              return this.height-50-_colorBarHeight;     }
          public function clicked():void{
              dispatchEvent(new SelectAssetEvent(this._asset, false, false, true));     }
         ]]>     </mx:Script>
           <mx:VBox left="0" top="0" right="0">
               <mx:Spacer height="1"/>
               <mx:HBox>
                    <mx:Spacer width="2"/>               <mx:Label id="lblAssetTag" text="{asset.type}: " fontWeight="bold" fontSize="12" doubleClickEnabled="true" doubleClick="titleClicked()"/>  id="lblAssetTag" text="{asset.type}: " fontWeight="bold" fontSize="12" doubleClickEnabled="true" doubleClick="titleClicked()"/> id="lblAssetTag" text="{asset.type}: " fontWeight="bold" fontSize="12" doubleClickEnabled="true" doubleClick="titleClicked()"/> 
                   <mx:Label id="lblAsset" text="{asset.name}" fontSize="12" doubleClickEnabled="true" doubleClick="titleClicked()"/>
                    <mx:Label id="lblAssetId" text="{'(' + asset.id + ')'}" fontSize="12" visible="{mx.core.Application.application.debugMode}"/>
               </mx:HBox>
              <mx:HBox horizontalGap="1">
                    <mx:Spacer width="2"/>
                    <mx:Spacer width="10" />
                    <mx:VBox  width="100%">                    <mx:VBox>
                        </mx:VBox>   
                        <mx:VBox  id="displays" verticalScrollPolicy="auto" height="{calculateActivityRepeaterHeight()}" horizontalScrollPolicy="off">
                        </mx:VBox>   
                   </mx:VBox>   
              </mx:HBox>
              <mx:Spacer height="2"/>
          </mx:VBox></mx:Canvas>
    I would appreciate any thoughts or feedback you could provide.
    ~martin

    The Canvas is a very heavy object that has lots of overhead.  Even worse is the VBox object that is in there multiple times. 
    What exactally are you trying to accomplish?  Just looking over the code, it seems that the same could be done directly with the Graphics API, at a much faster rate.
    For each of the VBoxes and Canvases you have, the entire size of each child and parent need to be re-evalulated each time you add or change something.  This is a HUGE overhead, and probably why the app is running so slow.  You may need to convert this app to use simpler objects (UIComponent or something lower-level like that) to get any speed.
    Are you using Flex Bulder?  Take a look at the app while the Profiler is running to see what I'm talking about.

  • Speed Issues Fixed In 9.1.2

    Lost all my thumbnails updating to iPhoto 9.1.2 but rebuilding the thumbnail database solved the problem. Best of all, the speed issues are finally gone in iPhoto 9.1.2. Opening the application is way faster again (2 seconds as opposed to 12 seconds or more). Scrolling is way faster again. Can't believe it took this long for Apple to fix this mess. Nevertheless, iPhoto '11 feels like iPhoto '09 once again. Thanks Apple.

    Lost all my thumbnails updating to iPhoto 9.1.2 but rebuilding the thumbnail database solved the problem. Best of all, the speed issues are finally gone in iPhoto 9.1.2. Opening the application is way faster again (2 seconds as opposed to 12 seconds or more). Scrolling is way faster again. Can't believe it took this long for Apple to fix this mess. Nevertheless, iPhoto '11 feels like iPhoto '09 once again. Thanks Apple.

  • Is there an issue using file vault 2 on a Mac fusion drive

    is there an issue using file vault 2 on a Mac fusion drive

    I'm using that configuration and it works for me. There have been some reports of kernel panics with FileVault and SSD's. The cause is unknown. Chances are you'll be fine, but make good backups.

  • Home Hub 3 Speed Issue

    Some 6 weeks ago I had an issue with losing my internet connection completly, and eventually after a long session with the help desk I magaged to reconnect using the direct port on the main phone socket. However since then I have had a speed issue and Ive been only getting speeds in the order of 2.3Mb.
    However running the BT speed test tells me that the connection to my Home Hub 3 is running at 8.13Mb, but the connection to my computer is running at 2.18Mb.
    I have tried every thing  I can think of. Followed all the advice to improve the connection but nothing works. Reseting the Home Hub, reseting the factory defaults. I've closed down every program running in the background, disconnected the rest of the hardwired network, fitted a new shorter cat 6 cable. All to no avail. The speed still stays firmly at 2.18 to 2.15. down and 0.37 up.
    Could their be a fault with my Home Hub?
    Thaks for any advice.
    Roy
    Solved!
    Go to Solution.

    23:38:00, 29 Jul.
    ( 5932.320000) CWMP: Session start now. Event code(s): '4 VALUE CHANGE'
    23:37:29, 29 Jul.
    ( 5901.890000) CWMP: session closed due to error: No response
    23:37:28, 29 Jul.
    ( 5900.920000) CWMP: Server URL: https://pbthdm.bt.mo; Connecting as user: ACS username
    23:37:28, 29 Jul.
    ( 5900.910000) CWMP: Session start now. Event code(s): '4 VALUE CHANGE'
    23:37:28, 29 Jul.
    ( 5900.480000) CWMP: Initializing transaction for event code 4 VALUE CHANGE
    23:37:24, 29 Jul.
    ( 5896.840000) DSL is down after 2 minutes uptime
    23:37:24, 29 Jul.
    ( 5896.840000) ETHoA is down after 2 minutes uptime
    23:37:24, 29 Jul.
    ( 5896.200000) PPPoA is down after 2 minutes uptime [Waiting for Underlying Connection (WAN DSL - Up)]
    23:37:20, 29 Jul.
    ( 5892.820000) PPP LCP Send Termination Request [User request]
    23:36:35, 29 Jul.
    ( 5847.820000) CWMP: session completed successfully
    23:36:34, 29 Jul.
    ( 5846.940000) CWMP: HTTP authentication success from https://pbthdm.bt.mo
    23:36:32, 29 Jul.
    IN: BLOCK [16] Remote administration (TCP [116.10.191.167]:6000->[81.154.29.9]:22 on ppp0)
    23:36:32, 29 Jul.
    ( 5844.670000) CWMP: Server URL: https://pbthdm.bt.mo; Connecting as user: ACS username
    23:36:32, 29 Jul.
    ( 5844.660000) CWMP: Session start now. Event code(s): '6 CONNECTION REQUEST,4 VALUE CHANGE'
    23:36:32, 29 Jul.
    ( 5844.050000) CWMP: Initializing transaction for event code 6 CONNECTION REQUEST
    23:35:08, 29 Jul.
    ( 5760.150000) CWMP: session completed successfully
    23:35:07, 29 Jul.
    ( 5759.850000) CWMP: HTTP authentication success from https://pbthdm.bt.mo
    23:34:55, 29 Jul.
    ( 5746.980000) CWMP: Server URL: https://pbthdm.bt.mo; Connecting as user: ACS username
    23:34:55, 29 Jul.
    ( 5746.970000) CWMP: Session start now. Event code(s): '4 VALUE CHANGE'
    23:34:48, 29 Jul.
    ( 5740.780000) PPP IPCP Receive Configuration ACK
    23:34:48, 29 Jul.
    ( 5740.580000) PPP IPCP Send Configuration ACK
    23:34:48, 29 Jul.
    ( 5740.580000) PPP IPCP Receive Configuration Request
    23:34:48, 29 Jul.
    ( 5740.290000) PPP IPCP Send Configuration Request
    23:34:48, 29 Jul.
    ( 5740.290000) PPP IPCP Receive Configuration NAK
    23:34:47, 29 Jul.
    ( 5739.870000) PPP IPCP Send Configuration ACK
    23:34:47, 29 Jul.
    ( 5739.870000) PPP IPCP Receive Configuration Request
    23:34:47, 29 Jul.
    ( 5738.990000) PPP IPCP Send Configuration ACK
    23:34:47, 29 Jul.
    ( 5738.990000) PPP IPCP Receive Configuration Request
    23:34:45, 29 Jul.
    ( 5737.420000) PPP IPCP Send Configuration Request
    23:34:45, 29 Jul.
    ( 5737.410000) WAN operating mode is DSL
    23:34:45, 29 Jul.
    ( 5737.410000) Last WAN operating mode was DSL
    23:34:43, 29 Jul.
    ( 5735.310000) PPPoA is up - VPI: 0, VCI:38
    23:34:43, 29 Jul.
    ( 5735.290000) CHAP authentication successful
    23:34:43, 29 Jul.
    ( 5735.260000) CHAP Receive Challenge
    23:34:43, 29 Jul.
    ( 5735.250000) Starting CHAP authentication with peer
    23:34:43, 29 Jul.
    ( 5735.250000) PPP LCP Receive Configuration ACK
    23:34:43, 29 Jul.
    ( 5735.240000) PPP LCP Send Configuration Request
    23:34:42, 29 Jul.
    ( 5734.110000) PPP LCP Send Configuration ACK
    23:34:42, 29 Jul.
    ( 5734.110000) PPP LCP Receive Configuration Request
    23:34:40, 29 Jul.
    ( 5732.210000) PPP LCP Send Configuration ACK
    23:34:40, 29 Jul.
    ( 5732.210000) PPP LCP Receive Configuration Request
    23:34:40, 29 Jul.
    ( 5732.090000) PPP LCP Send Configuration Request
    23:34:37, 29 Jul.
    ( 5729.230000) ETHoA is up - VPI: 0, VCI:35
    23:34:37, 29 Jul.
    ( 5729.230000) DSL is up
    23:34:36, 29 Jul.
    ( 5728.350000) DSL noise margin: 21.00 dB upstream, 10.90 dB downstream
    23:34:36, 29 Jul.
    ( 5728.280000) DSL line rate: 448 Kbps upstream, 8128 Kbps downstream
    23:34:12, 29 Jul.
    ( 5704.670000) CWMP: session closed due to error: No response
    23:34:12, 29 Jul.
    ( 5704.640000) CWMP: Server URL: https://pbthdm.bt.mo; Connecting as user: ACS username
    23:34:12, 29 Jul.
    ( 5704.630000) CWMP: Session start now. Event code(s): '4 VALUE CHANGE'
    23:33:42, 29 Jul.
    ( 5674.150000) CWMP: session closed due to error: No response
    23:33:41, 29 Jul.
    ( 5673.000000) CWMP: Server URL: https://pbthdm.bt.mo; Connecting as user: ACS username
    23:33:41, 29 Jul.
    ( 5672.990000) CWMP: Session start now. Event code(s): '4 VALUE CHANGE'
    23:33:40, 29 Jul.
    ( 5672.560000) CWMP: Initializing transaction for event code 4 VALUE CHANGE
    23:33:36, 29 Jul.
    ( 5668.110000) DSL is down after 92 minutes uptime
    23:33:36, 29 Jul.
    ( 5668.100000) ETHoA is down after 92 minutes uptime
    23:33:35, 29 Jul.
    ( 5667.670000) PPPoA is down after 92 minutes uptime [Waiting for Underlying Connection (WAN DSL - Up)]
    23:33:32, 29 Jul.
    ( 5664.200000) PPP LCP Send Termination Request [User request]
    23:29:51, 29 Jul.
    OUT: BLOCK [7] ICMP replay (ICMP type 3 code 1 81.153.31.203->69.171.248.65 on ppp0)
    23:28:50, 29 Jul.
    ( 5382.020000) CWMP: session completed successfully
    23:28:48, 29 Jul.
    ( 5380.950000) CWMP: HTTP authentication success from https://pbthdm.bt.mo
    23:28:46, 29 Jul.
    ( 5378.860000) CWMP: Server URL: https://pbthdm.bt.mo; Connecting as user: ACS username
    23:28:46, 29 Jul.
    ( 5378.850000) CWMP: Session start now. Event code(s): '6 CONNECTION REQUEST,4 VALUE CHANGE'
    23:28:46, 29 Jul.
    ( 5378.230000) CWMP: Initializing transaction for event code 6 CONNECTION REQUEST
    23:26:03, 29 Jul.
    ( 5215.090000) CWMP: session completed successfully
    23:26:02, 29 Jul.
    This is some of the event log.

Maybe you are looking for

  • Issue with Calendar not syncing with iPhone 3g

    Issue with Calendar not syncing with iPhone 3g. Solution Create backup of your entire mailbox before starting (THIS IS IMPORTANT) Create offline folder (.pst file) Check windows help on how to do this for your version. Open folders view on Outlook Ri

  • ITunes 10.7 won't open - Windows XP Pro

    I learned from the Apple Store that to use our new iPad, I needed a version of iTunes of 10 or higher.  I was running iTunes ver. 9.2.1.5.  Disclaimer:  when opening iTunes (ver 9.2.1.5) I would always get a dialog box saying something along the line

  • 'Exists in Hierarchy' column and table name

    Hi All In Position hierarchy form .we all find exists in hierarchy flag ..when checking for hierarchies , can any one help me ..what is the table and column name which will tell whether position exists in hierarchy or not

  • Single Subcon Vendor for multiple Plants - CTM

    Dear friends, We are planning some materials with Subcontracting scenario using CTM Facing issue when same vendor is executing sub-con process of same material for multiple plants Total demand of lower level material is flowing to a single plant inst

  • How to make the spark List in a mobile theme transparent ?

    Hi, I have a List in a mobile project for which I want half of the List to be transparent. So what I did is set the "contentBackgroundAlpha" MXML value to 0 in teh <s:List> element, and in a custom ItemRenderer I set half of the List item to have a c