Parsing file filled with integers fast (?)

Hi,
I am trying to parse a file that has a bunch of integers seperated by spaces. I am using a BufferedReader, then looking at each char to see if it's a digit, then getting the digit and computing the integer. This seems to be 10 times slower than the same parser written in C++.
How can I boost the performance?
Thanks!
M.

So I use a LineNumberReader to read one line at the time. I pass that string to getIntegers (see below). This returns a list of integers.
Dealing with bytes directly sounds great. How do I do that?
Thanks!
M.
public ArrayList<Integer> getIntegers(String line){
     line += " ";
     ArrayList<Integer> res = new ArrayList<Integer>();
     boolean start = false;
     boolean neg = false;
     int l = 0;
     char c;
     for(int i = 0; i< line.length(); i++){
          c = line.charAt(i);
          if (c == '-'){
               neg = true;
          } else if (! Character.isWhitespace(c)) {
               if (start == false) start = true;
               l = l * 10 + Character.digit(c, 10);
          } else if (start == true) {
               if (neg) l = -l;
               res.add(new Integer(l));
               l = 0;
               start = false;
               neg = false;
     return res;
}

Similar Messages

  • Private/tmp file filled with random folders

    Several times in the past few months I have had the Private/tmp file filled with random folders taken off of my HD. I can easily find them with Whatsize but they are always in the Private/tmp file. This, of course brings my startup disc up with the usual warning "Startup disc is full.
    I have looked on console and the only thing that looks suspicious is the following entry:
    Sep 22 12:35:34 <user>-imac com.apple.launchd[1] (org.postfix.master[934]): Stray process with PGID equal to this dead job: PID 935 PPID 1 pickup
    This entry occurs continuously throughout the log.
    I use both Super duper and Time Machine to back up my systems HD and my Docs HD.
    Any help on this. I have used Apples since 1982 and this is a first.
    Thanks

    Thanks Red Menace.
    I am aware of the regular tmp files, but what I am talking about is over 500GB of random files from my hard disk put into the private/tmp folder. It is not the normal machine operation.
    Further investigation indicates it might be Super Duper, but I can not find an exact duplicate of my problem

  • Windows Server 2008 R2 - Restore Previous Versions - Restored File Filled with Nulls

    ISSUE:
    The Restore Previous versions feature on my file server stopped working some time in the recent past.  If I look at the Previous Version for a file or folder the items are listed and they show a valid file size.  However, when I restore a previous
    version of a file it is completely filled with nulls.  I have tried local restores on the server and remote restores.  The results are the same; I get a file that is the correct size but completely filled with nulls.  The Server is Windows 2008
    R2 64.  I have searched for any reports of similar issues to no avail.   I'm looking for any ideas on how to resolve the issue preferably while maintaning archived files.

    Hello,
    Can you help me with this too?
    My Shadow copy stop working!
    When my clients right click on Folders, they saw only date in the past.. and the new date not comming!
    When i went to file server
    ==> Computer Management==> Right click on "Share Folder" after that, i got nothing! Only "Gray" at the "Title bar" of computer management.
    Please see attached:
    What should i do? Please help me.
    Best regards
    VeasnaYim

  • System Log file filled with arp message from teamed nics

    Hello,
    We are running a Win2k3 server with dual nics teamed to one IP address. All of our Mac's system logs are being filled with the following message:
    Mar 28 12:48:58 Son-of-Spacedog kernel[0]: arp: 192.168.200.50 moved from 00:04:23:b9:00:4a to 00:04:23:b9:00:4b on en0
    This is repeated over and over. Is there any way to get the Mac's to stop generating this message? Is the fix for this on the server side or on the Mac side? From what I have seen online in other forums, this started happening with Panther.

    There are actually several different types of NIC Teaming Modes:
    Adapter Fault Tolerance (AFT) - provides automatic redundancy for a server's network connection. If the primary adapter fails, the secondary adapter takes over. Adapter Fault Tolerance supports two to eight adapters per team. This teaming mode works with any hub or switch, and all team members must be connected to the same device.
    Switch Fault Tolerance (SFT) - provides a failover relationship between two adapters when each adapter is connected to a separate switch. Switch Fault Tolerance supports two adapters per team. This feature works with any switch. Spanning Tree Protocol (STP) must be enabled when you create a team in SFT mode.
    Adaptive Load Balancing (ALB) - provides load balancing for transmission traffic and adapter fault tolerance. You can also enable or disable receive load balancing (RLB) in ALB teams. This teaming mode works with any switch.
    Fast EtherChannel/Link Aggregation - provides increased transmission and reception throughput in a team of two to eight adapters. This mode also includes adapter fault tolerance and load balancing (only routed protocols). This requires a switch with Link Aggregation or FEC capability.
    Gigabit EtherChannel/Link Aggregation - is the gigabit extension of the FEC/Link Aggregation/802.3ad: static mode. All team members must operate at gigabit speed.
    IEEE 802.3ad: dynamic mode - creates one or more teams using dynamic Link Aggregation with same-speed or mixed-speed adapters. Like the static Link Aggregation modes, Dynamic 802.3ad teams increase transmission and reception throughput and provide fault tolerance. This mode requires a switch that fully supports the IEEE 802.3ad standard.
    Now, most likely, somewhere on the network a server is configured for ALB or AFT, and these are the most common methods of NIC teaming (Sadly, the XServes do not). They also do not require any certain type of switch, but they do require STP (Spanning Tree Protocol) to be turned off to function most effectively, or you will see errors on the network like the ones you are seeing in your log. Most managed switches come with STP turned on by default, so you will need to check ALL switches (as the errors will cascade throughout the network) to see if it STP is turned on. Most people do not use STP any more (it basically allows ports on one switch to appear as on another switch), so see if you can turn it off. That should stop the error messages.
    -MacBoy in SLC
    PowerMac G5 Dual 2.0 GHz   Mac OS X (10.4.6)  

  • [SOLVED] dvd drive not working, log file filled with error.

    hi,
    i dont know if this is something to do with the latest kernel update or something else that may have occured.
    but my dvd writer has stopped working. no light on the front, pressing the button does not open the tray.
    it wtill works fine when i boot into windows (dual boot with XP) so it's not a hardware issue.
    also my everything.log file is filling up with the following every two seconds!
    Mar  1 19:27:56 adax hda: status error: status=0x59 { DriveReady SeekComplete DataRequest Error }
    Mar  1 19:27:56 adax hda: status error: error=0x00 { }
    Mar  1 19:27:56 adax ide: failed opcode was: unknown
    Mar  1 19:27:56 adax hda: drive not ready for command
    Mar  1 19:27:56 adax hda: status error: status=0x59 { DriveReady SeekComplete DataRequest Error }
    Mar  1 19:27:56 adax hda: status error: error=0x00 { }
    Mar  1 19:27:56 adax ide: failed opcode was: unknown
    Mar  1 19:27:56 adax hda: drive not ready for command
    Mar  1 19:27:56 adax hda: status error: status=0x59 { DriveReady SeekComplete DataRequest Error }
    Mar  1 19:27:56 adax hda: status error: error=0x00 { }
    Mar  1 19:27:56 adax ide: failed opcode was: unknown
    Mar  1 19:27:56 adax hda: drive not ready for command
    Mar  1 19:27:56 adax hda: status error: status=0x59 { DriveReady SeekComplete DataRequest Error }
    Mar  1 19:27:56 adax hda: status error: error=0x00 { }
    Mar  1 19:27:56 adax ide: failed opcode was: unknown
    Mar  1 19:27:56 adax hda: drive not ready for command
    can someone please help me before i run out of disk space for my logs!
    thanks,
    ad.
    Last edited by adax (2008-03-01 23:25:37)

    Hello,
    I strongly suspect that you need to change 'ide' to 'pata' in your /etc/mkinitcpio.conf
    #HOOKS="base udev autodetect ide scsi sata usb keymap filesystems"
    HOOKS="base udev autodetect pata scsi sata usb keymap filesystems"
    Then recreate with: 
    mkinitcpio -g /boot/kernel26.img
    Last edited by colnago (2008-03-01 21:21:37)

  • Huge system.log file filled with over a million messages about NSATSTypeset

    Hi,
    I just happened to notice the system.log file on my MacBook Pro laptop was absolutely huge - over 1.2 GBytes in just one day. Almost all of it is messages like this:
    Mar 31 12:26:23 macbook quicklookd[228]: <NSATSTypesetter: 0x146b40>: Exception * table 0x1473caa0 has block 0x147b3040 rather than 0x147b4850 at index 7573 raised during typesetting layout manager <NSLayoutManager: 0x124140>\n 1 containers, text backing has 16461 characters\n selected character range {16461, 0} affinity: downstream granularity: character\n marked character range {16461, 0}\n Currentl
    y holding 16461 glyphs.\n Glyph tree contents: 16461 characters, 16461 glyphs, 4 nodes, 128 node bytes, 16384 storage bytes, 16512 total bytes, 1.00 bytes per character, 1.00 bytes per glyph\n Layout tree contents: 16461 characters, 16461 glyphs, 7573 laid glyphs, 207 laid line fragments, 3 nodes, 96 node bytes, 13656 storage bytes, 13752 total bytes, 0.84 bytes per character, 0.84 bytes per glyph, 36.58 laid glyphs per laid line fragment, 66.43 bytes per laid line fragment\n, glyph range {7573 0}. Ignoring...
    and there are over 1.3 million of these messages!!!! There is a tiny bit of variation in some of the numbers (but not all). That is just a little bit more than the total number of files I have on the hard drive in the laptop, so it would appear that the quicklookd is doing something to each and every file on the computer. Any idea why all of a sudden these messages appear and why so many. I only have about 7 versions of the system.log files and none of them are even close to this big, but the one one thing I did do today that I have not in a few weeks is reboot my laptop because of another problem with the laptop screen not waking this morning from being put to sleep last night (was just black but computer was running and could login to it from another computer in the LAN it is attached).
    Any ideas why this is happening, or is this something that always happens on a reboot/boot rather than waking from sleep. Why would the quicklookd be printing out so many of these messages that are almost exactly alike???
    I have only had this MacBook for a few weeks, so don't have a good feel for what is normal and what isn't yet.
    THanks...
    -Bob

    Bob,
    Thanks for your further thoughts and the additional information. My guess is that Quick Look does its file processing independently of whether or not or how recently the computer has been rebooted. The NSATSTypesetter messages filling up the log file are almost certainly error messages and should not occur with normal operation of Quick Look. I suspect that your reboot doesn't directly have anything to do with this problem. (It might have indirectly contributed in the sense that either whatever caused the need for the reboot or the reboot process itself corrupted a file, which in turn caused Quick Look to fail and generate all those error messages in the log file.)
    In the meantime I may have a solution for this problem. This morning I rebooted in single user mode and ran AppleJack in manual mode so that I could tell it to clean up all user cache files. (I'd previously downloaded AppleJack application from http://applejack.sourceforge.net/ . To boot in single user mode hold command and s keys at startup chime. ... Run the five AppleJack maintenance tasks in order. The third task will give you the option to enter numbers of users whose cache files will be cleaned. Do this cache cleaning for all users.) In the six hours since I ran AppleJack I've seen exactly two NSATSTypesetter error messages in /var/log/system.log . This compares with hundreds of thousands in the same period yesterday. I just set an iCal alarm to remind me to report back to this discussion thread in two weeks on this issue.
    Best,
    Chris.
    PS: Above you mention 7 log files. Are the older ones of the form system.log.0.bz2 ? If so they have been compressed. Just because they are small doesn't necessarily mean there are not a lot of nearly identical error messages. Uncompress to check. I haven't tried this because large files are very inconvenient to work with on my old iBook.

  • DME output file filled with # symbols

    Hi All,
    i'm setting up our PMW to produce a DME file which is sent directly to an address on our file server.  this is all working fine and when i view the DME file using transaction FDTA the file looks fine.
    However, when i view the file which is output to our file server, every character is followed by a # symbol.
    How can i stop this?
    thanks!
    Phil.,

    Hi See below for a copied and pasted extract
    Directory:  /usr/sap/interfaces/D2D/ACCOUNTSPAYABLE
    Name:       OUTGOING3259
    #0# # # # # # # # # # # # # # # # # #0#1#W#B#C# # # # # # # #N#A#T#I#O#N#A#L# #F#O#O#D#S# # # # # # # # # # # # #3#4#7#7#2#4#G#e#n#e#r#a
    #1#1#0#5#-#0#1#2#1#1#5#1#7#1#7#4#0# #5#0#0#0#0#0#0#0#7#1#5#0#M#e#g#a# #E#l#e#c#t#r#i#c#a#l# #(#S#A#)# #P#/#L# # # # # # # # #N#a#t#i#o#n
    #1#0#1#3#-#4#2#3# # #8#1#9#1#8#6#8# #5#0#0#0#0#0#0#0#3#7#3#2#W#R# #&# #D# #W#e#l#l#s# #P#/#L# # # # # # # # # # # # # # # # #N#a#t#i#o#n
    #1#0#1#4#-#0#0#2#7#7#5#4#1#9#4#9#9# #5#0#0#0#0#0#0#0#6#0#2#7#C#a#m#p#b#e#l#l#s# #C#a#s#h# #&# #C#a#r#r#y# #P#/#L# # # # # # #N#a#t#i#o#n
    #7#9#9#9#-#9#9#9# # # # # # # # # # # # #0#0#0#0#0#1#6#9#0#9#0#0#0#0#0#1#6#9#0#9#0#0#0#0#0#0#0#0#0#0# # # # # # # # # # # # # # # # # #
    I couldnt get the whole file in as it was too wide on the screen
    thanks

  • I tried to manually clear my Time Machine back up drive (a La Cie). But now the Trash is filled with files (over 130,000) and it doesn't seem to want to trash them - how do I get rid of them now in a quicker way?

    I tried to manually clear my Time Machine back up drive (a La Cie) of some of the older backups. But now the Trash is filled with files (over 130,000) and it doesn't seem to want to trash them - it's taking forever!! how do I get rid of them now in a quicker way?

    dear Sue
    i've tried the alt solution to empty trash but it does not work
    I still got the -8003 error
    for emptying time machine backups that i foolishly put in the trash
    i've also tried this solution using terminal and it did not work either
    http://www.imore.com/how-force-empty-trash-your-mac-using-terminal
    any help you might offer would be greatly appreciated
    i am using a 24 inch iMac
    OSX 10.6.8
    Message was edited by: summer_laughter

  • Attempt to process file failed with Exception in XML Parser-format problem

    Hi all,
    Iam getting an unusual error in the J2EE stack in XI.
    And the message is:
    006-11-30 17:31:07 Error Attempt to process file failed with Exception in XML Parser (format problem?):'com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Invalid char #0xf(:main:, row:1, col:1044002)(:main:, row=1, col=1044002) -> com.sap.engine.lib.xml.parser.ParserException: Invalid char #0xf(:main:, row:1, col:1044002)' 2006-11-30 17:31:07 Error Exception caught by adapter framework: null 2006-11-30 17:31:07 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
    My scenerio iam posting IDOC to a flat file with content conversion in the receiver side,the mapping got executed successfully and in the audit log i found that the error was after the 'Start converting XML document content to plain text'.
    This means that error occured during content conversion of XML to the prescribed file format.
    Can anyone suggest any better approach using which we may trace the junk data in IDoc. Manual adhoc approach could take time and is error prone.
    Thanks in advance...
    karun

    Hi Bhavesh,
    Thanks for the early reply. I checked the mapping and everything is fine and the output is also in valid XML format.
    The audit log shows that the mapping got executed successfully and the error is after the step 'Start converting XML document content to plain text '. Is there any constraint in the file adapter regarding the message size for parsing.
    2006-11-30 17:30:50 Success Transfer: "BIN" mode, size 2912595 bytes, character encoding -
    2006-11-30 17:30:50 Success Start converting XML document content to plain text
    2006-11-30 17:31:07 Error Attempt to process file failed with Exception in XML Parser (format problem?):'com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Invalid char #0xf(:main:, row:1, col:1044002)(:main:, row=1, col=1044002) -> com.sap.engine.lib.xml.parser.ParserException: Invalid char #0xf(:main:, row:1, col:1044002)'
    2006-11-30 17:31:07 Error Exception caught by adapter framework: null
    2006-11-30 17:31:07 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
    2006-11-30 17:31:07 Success The asynchronous message was successfully scheduled to be delivered at Thu Nov 30 17:36:07 GMT 2006.
    2006-11-30 17:31:07 Success The message status set to WAIT.
    2006-11-30 17:31:08 Success Acknowledgement creation triggered for type: SystemErrorAck
    2006-11-30 17:31:08 Success Acknowledgement sent successfully for type: SystemErrorAck
    2006-11-30 17:36:08 Success Retrying to deliver message to the application. Retry: 1

  • HT204150 My Custom Label file in Contacts is filled with outdated names. How can I delete them?

    My Custom Label file in Contacts is filled with obsolete names.  How do I delete them?

    Thanks Applematt9812, that works great. I never saw that before. It lets you group pictures under the Albums tab nicely.
    But, unfortunately, it doesn't fix the names of the groups that get created under the Events tab when you load pictures from a camera card. If that was editable it would help.

  • Time Machine backup fills with multiple copies of files

    I bought a 500 GB external drive, which I backed up iPhoto (34 GB), iTunes (61 GB) and some other large files using Time Machine. Using 'Disk Inventory X', I can see that the Time Machine backup drive is filled with 12 separate copies of my entire iPhoto library, iTunes libraries, Windows XP and other large files. Is there any setting I can set to technique to use to make it more efficient? My 500 GB gives only three days of backup!

    Same answer as to your other post:
    Doubtful. Something else is going on.
    Most likely, that's not what you're seeing.
    What appear to be duplicate files and folders are actually "multi-links" (sort of like fancy aliases) that look like multiple copies of the same things.
    To find out what's really going on, download the Time Machine Buddy widget from: http://www.apple.com/downloads/dashboard/status/timemachinebuddy.html. It shows the messages from your logs for one TM backup run at a time, in a small window. The somewhat-cryptic messages will show roughly how much was copied on each backup.
    Also download the TimeTracker app, from www.charlessoft.com.
    It shows most of the files actually saved by TM for each backup (excluding some hidden/system files, etc.).
    If you find the same files being saved again, even though they weren't changed, post back, and include the results from the widget for that particular backup. Then we can figure out what's really going on.

  • I cant locate a file a had filled with pictures think i may have deleted is their anyway to recover it

    i cant locate a file a had filled with pictures think i may have deleted is their anyway to recover it

    Hi t,
    First, don't create or change any files. The more you do, the less chance you have of recovering any data. Google for Mac data recovery applications. There are several. At least one allows you to use it to see if you can recover data, without paying for it. If you decide to recover it, then you have to pay for the app in order for it to do the recovery.

  • Trash fills with plist files?

    Upgraded from 10.6.8 to Mavericks. Now the trash consistently gets filled with plist files. Any idea why?

    Hardware Information:
              iMac (20-inch, Early 2009)
              iMac - model: iMac9,1
              1 2.66 GHz Intel Core 2 Duo CPU: 2 cores
              8 GB RAM
    Video Information:
              NVIDIA GeForce 9400 - VRAM: 256 MB
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0
              AirPlay: Version: 1.9
              AppleAVBAudio: Version: 2.0.0
              iSightAudio: Version: 7.7.3
    Startup Items:
              Digidesign Mbox 2 - Path: /Library/StartupItems/Digidesign Mbox 2
              DigidesignLoader - Path: /Library/StartupItems/DigidesignLoader
              M-Audio Firmware Loader - Path: /Library/StartupItems/M-Audio Firmware Loader
              PACESupport - Path: /Library/StartupItems/PACESupport
    System Software:
              OS X 10.9 (13A603) - Uptime: 0 days 23:39:47
    Disk Information:
              WDC WD3200AAJS-40H3A0 disk0 : (320.07 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) /: 319.21 GB (138.99 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              HL-DT-ST DVDRW  GA11N 
    USB Information:
              Apple Inc. Built-in iSight
              Digidesign Mbox 2 
              Generic Mass Storage Device
              M-Audio USB Axiom 25
              iLok iLok
              EPSON EPSON Scanner
              Apple, Inc. Keyboard Hub
                        Apple, Inc Apple Keyboard
              Apple Computer, Inc. IR Receiver
              Novation ZeRO MkII
              Apple Inc. BRCM2046 Hub
                        Apple Inc. Bluetooth USB Host Controller
    FireWire Information:
              DMI WD1600BB-00RDA0 400mbit - 400mbit max
                        EFI (disk1s1) <not mounted>: 209.7 MB
                        Stuff (disk1s2) /Volumes/Stuff: 159.7 GB (70.04 GB free)
              OWC Mercury Elite-AL Pro unknown_device 400mbit - 400mbit max
                        EFI (disk2s1) <not mounted>: 209.7 MB
                        Sessions (disk2s2) /Volumes/Sessions: 499.76 GB (453.52 GB free)
    Thunderbolt Information:
    Kernel Extensions:
              com.Cycling74.driver.Soundflower          (1.5.1)
              net.telestream.driver.TelestreamAudio          (1.0.5)
              com.paceap.kext.pacesupport.snowleopard          (5.7.2)
              com.intego.kext.VirusBarrierKPI          (10.6.18)
              com.intego.kext.VirusBarrier.AppBarrierKPI          (10.6.18)
              com.intego.iokit.BehavioralKext          (1)
              com.intego.iokit.VBX6NKE          (1)
              com.intego.iokit.VirusBarrierX6Service          (10.6.18)
              com.digidesign.mbox2.driver          (9.0f4)
    Problem System Launch Daemons:
              [failed] com.apple.wdhelper.plist
    Problem System Launch Agents:
    Launch Daemons:
              [failed] com.adobe.fpsaud.plist
              [loaded] com.barebones.textwrangler.plist
              [loaded] com.bjango.istatmenusdaemon.plist
              [loaded] com.bombich.ccc.plist
              [loaded] com.bombich.ccc.scheduledtask.92969846-1A53-4DF9-AE0E-B7ED61AD1F4E.plist
              [loaded] com.bombich.ccc.scheduledtask.EDD66539-9F21-4C63-B839-6B09D0B4167F.plist
              [loaded] com.ciscosystems.ciscoconnect.daemon.plist
              [loaded] com.ciscosystems.ciscoconnectupgrade.daemon.plist
              [loaded] com.digidesign.fwfamily.helper.plist
              [loaded] com.intego.commonservices.daemon.plist
              [loaded] com.intego.commonservices.icalserver.plist
              [loaded] com.intego.commonservices.metrics.kschecker.plist
              [loaded] com.intego.netupdate.daemon.plist
              [loaded] com.intego.PersonalBackup.daemon.plist
              [loaded] com.intego.task.manager.daemon.plist
              [loaded] com.intego.VirusBarrierX6.daemon.plist
              [loaded] com.intego.VirusBarrierX6.scanner.daemon.plist
              [loaded] com.line6.l6ksettingmgr.plist
              [loaded] com.micromat.TechToolProDaemon.plist
              [loaded] com.novation.automap.pluginhelper.plist
              [loaded] com.paceap.eden.licensed.plist
              [loaded] com.prosofteng.DriveGenius.locum.plist
              [loaded] PACESupport.plist
    Launch Agents:
              [loaded] com.bjango.istatmenusagent.plist
              [loaded] com.hp.help.tocgenerator.plist
              [loaded] com.intego.commonservices.statusitem.plist
              [loaded] com.intego.netupdate.agent.plist
              [loaded] com.intego.personalbackup.agent.plist
              [loaded] com.intego.task.manager.notifier.plist
              [loaded] com.intego.VirusBarrierX6.alert.plist
              [not loaded] com.intego.VirusBarrierX6.statusitem.plist
              [loaded] com.micromat.TechToolProAgent.plist
              [loaded] com.wacom.wacomtablet.plist
    User Launch Agents:
              [loaded] com.adobe.ARM.[...].plist
              [loaded] com.bombich.ccc-user-agent.plist
              [loaded] com.prosofteng.DGMonitor.plist
              [failed] com.zeobit.MacKeeper.Helper.plist
    User Login Items:
              Caffeine
    3rd Party Preference Panes:
              Citrix Online Plug-in
              DigidesignMbox2
              Digidesign Mbox 2 Pro
              Flash Player
              Line6AudioMIDI
              NetUpdate
              TechTool Protection
              WacomTablet
    Internet Plug-ins:
              AdobePDFViewer.plugin
              AdobePDFViewerNPAPI.plugin
              CitrixICAClientPlugIn.plugin
              Default Browser.plugin
              DirectorShockwave.plugin
              Flash Player.plugin
              FlashPlayer-10.6.plugin
              Google Earth Web Plug-in.plugin
              iLokClientHelper.plugin
              iPhotoPhotocast.plugin
              JavaAppletPlugin.plugin
              QuickTime Plugin.plugin
              Silverlight.plugin
    User Internet Plug-ins:
              WebEx.plugin
              WebEx64.plugin
    Bad Fonts:
              None
    Time Machine:
              Skip System Files: NO
              Auto backup: NO
              Time Machine not configured!
    Top Processes by CPU:
                  15%          Finder
                   2%          WindowServer
                   2%          SystemUIServer
                   1%          Folder Actions Dispatcher
                   1%          MidiAutomapClient
                   1%          EtreCheck
                   0%          fontd
                   0%          AutomapServer
                   0%          EPSON Scanner
                   0%          taskgated
    Top Processes by Memory:
              319 MB             com.apple.IconServicesAgent
              197 MB             virusbarriers
              115 MB             Finder
              98 MB              WindowServer
              90 MB              Mail
              74 MB              Dock
              74 MB              SystemUIServer
              57 MB              mds_stores
              57 MB              com.apple.WebKit.WebContent
              49 MB              Safari
    Virtual Memory Statistics:
              4.79 GB            Free RAM
              1.97 GB            Active RAM
              227 MB             Inactive RAM
              778 MB             Wired RAM
              619 MB             Page-ins
              72 KB              Page-outs
    Thanks for helping me with this!!!

  • File Conversion in Rec File Adapter with subnodes

    Hi
    My XML Structure is like this -->
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_Test xmlns:ns0="urn:TESTconversion">
      <MstName>Hello</MstName>
    - <Header>
      <TableName>1tst</TableName>
      <PayDate>0102</PayDate>
      <TotalAmt>24.00</TotalAmt>
      <Total>000002</Total>
      <PaySource>CHK</PaySource>
    - <Subheader>
      <TableName>1tst</TableName>
      <SelectCatgry>test</SelectCatgry>
      <CustID>200</CustID>
      <PayAmount>11.00</PayAmount>
      </Subheader>
    - <Subheader>
      <TableName>1tst</TableName>
      <SelectCatgry>test</SelectCatgry>
      <CustID>400</CustID>
      <PayAmount>13.00</PayAmount>
      </Subheader>
      </Header>
    - <Header>
      <TableName>1tst</TableName>
      <PayDate>0103</PayDate>
      <TotalAmt>10.00</TotalAmt>
      <Total>000001</Total>
      <PaySource>ONE</PaySource>
    - <Subheader>
      <TableName>1tst</TableName>
      <SelectCatgry>test</SelectCatgry>
      <CustID>100</CustID>
      <PayAmount>10.00</PayAmount>
      </Subheader>
      </Header>
    </ns0:MT_Test>
    which means
    MT_Test is root 1..1
    Header is the sub-node of MT_test as 1...*
    Subheader is sub-node of Header which is also 1...*
    rest of the fields are elements as 1..1
    Now I need to convert this into Flat file using Receiver File Adapter, I gave this in my content conversion logic
    recordset Structure -
    MstHeader,BFKKZK,BFKKZP
    MstName.addHeaderLine     0
    MstName.fieldFixedLengths     8
    MstName.endSeparator     'nl'
    Header.addHeaderLine     0
    Header.fieldFixedLengths     30,10,15,6,6
    Header.endSeparator     'nl'
    Subheader.addHeaderLine     0
    Subheader.fieldFixedLengths     34,10,35,16
    Subheader.endSeparator     'nl'
    But with this I am getting exception as -->
    Could not process due to error: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:MT_Test' found in document', probably configuration error in file adapter (XML parser error)'
    I know that http://help.sap.com/saphelp_nwpi711/helpdata/en/44/686e687f2a6d12e10000000a1553f6/content.htm says following -->
    The expected XML structure contains the structure as nodes filled with any number of elements without additional subnodes.
    But does that mean Structure with sub-nodes cannot be converted in flat format.
    Pls. suggest the solution for this.
    - lalit -

    Shab
    I resolved the issue & able to convert the hierarchical XML file into flat file with the desired format I wanted.
    Rather then FCC, I use MessageTransformBean module and I have to insert more dummy contexts & dummy fields in the target structure in order to achieve the flat file format.
    I am getting file ( not actual file below just template is shown below) like this now
    Header1 ....details....
    SubHeader1.1
    SubHeader1.2
    SubHeader1.x
    Header2 ....details....
    SubHeader2.1
    SubHeader2.2
    SubHeader2.x
    Headerx ....details....
    SubHeaderx.1
    SubHeaderx.2
    SubHeaderx.x
    Once the total development is over on my side I will create the blog for this. So this following statement is only correct when you use protocol as FCC but not with module.
    "The expected XML structure contains the structure as nodes filled with any number of elements without additional subnodes."
    Thanks
    Lalit

  • File corruption with a very large .ai file

    A little background first:
    I am a graphic designer/cartographer with 15+ years of experience. I started making maps in Illustrator with version 6 and have upgraded to every version since.
    My machines:
    2x Mac Pro 8-core 3.0GHz, 16GB RAM, 10.5.7
    Mac Pro quad-core 2.66GHz, 8GB RAM, 10.5.7
    MacBook Pro 2.0GHz, 2GB RAM, 10.5.7
    Illustrator specs:
    All machines have CS4 installed as well as Illustrator 10.
    The 8-core MPs have the MAPublisher Plug-ins installed
    The 4-core and MacBook Pro (MBP) does not have the MAPublisher Plug-ins
    The problem I am having can be replicated on each of the machines. The MBP can't handle the file due to RAM. Since this occurs on machines that has MAPublisher installed and a machine that does not, I think we can rule out a plug-in issue.
    File specs:
    The original file: version 10, file size (uncompressed, no PDF support, and no font-embedding) is 36.4 MB. There are no raster effects or embedded/placed images. This is strictly a vector file. Artboard Dimensions: 85.288 in x 81.042 in
    The original file, converted with CS4, and then saved as a CS4 file: file size (uncompressed, no PDF support, and no font-embedding) is 97.9 MB.
    Brief Description of the problem:
    I have tried to convert this file into every version of CS and it has failed every time. With each version, it has resulted in an unusable file for different reasons. CS-CS3, the file was completely unusable because of the opening/saving time. It could take as long as 3 hours to save the file. With CS4, this has been rectified and I once again tried to convert it. Upon re-opening of the 'converted' CS4 native file, the file is 'corrupted'.
    The file corruption is not your regular "This file can't be opened because of: X" corruption. The file opens after a save/close just fine. It is just that parts of the file gets destroyed. To save space in this post, I have created a webpage that illustrates the problem that I am having:
    http://newatlas.com/ai_problem/
    I have tried everything possible to make the file smaller and it is as slimmed down as I can make it. (Using symbols, styles, etc.) I have also tried to eliminate this as a font problem by replacing every font with an Adobe supplied font, cleared caches, etc. This does not work, so I think we can rule out a font issue. I have also reduced this file to contain no pattern fills, no gradients, and just used simple fills and strokes. All to no avail. I have also tried piecing the file back together into a new document by copying/pasting a layer at a time. Saving, closing and re-opening after each paste cycle. I can get about 95% of it put back together and then it will manifest the problem. The only thing I haven't done is to convert all of the type to outlines. This would not solve my problem since this is a map that I continually work on year after year. I also can't remove objects or cut the overall area of the map because this file is used to produce an atlas book, a wall map and custom boundary wall maps. You can view the entire file at:
    http://okc.cocpub.com
    If I do not convert the legacy text, the file saves/closes/re-opens just fine. It just takes a very long time. So this leads me to think that the cause of the problem is the number of editable type objects that this file has. Ever since Adobe changed the Type Engine, I haven't been able to use this file in current versions of Illustrator.
    If I could get this file to open, uncorrupted, I could finally get rid of Illustrator 10. Illustrator 10 does not have any problem with this file (and is still faster than CS4 in everything except selecting a lot of objects.)
    I am posting this on the forums for any other opinions/ideas from the 'Illustrator Gurus' as a first step. I want to get in contact with someone at Adobe to see if we can address this problem and possibly get it fixed with CS5. I know that this is a user-to-user forum, but I'm not sure who, where and how to contact Adobe for this issue. Maybe someone on these forums can help with that as well.
    Thank you for your patience for getting this far in my long post and I would really appreciate any response.
    Dave

    Thanks Wade for responding,
    Did you try trashing your Adobe Illustrator CS4 Settings folder in your User's Preferences?
    Yes, I've tried deleting prefs. Basically I've tried to rule out any problems with Illustrator as a whole. This issue has also occured on a clean install of OS X and Illustrator on a new User Account with the opening of this file being the first task that Illustrator has. There is no problem with Illustrator per se, but I think it is more of a limitation in Illustrator based on the number of type objects.
    You could also try saving it out of 10 as a pdf or as postscript and distilling it then open that in ai or place it id a blank AI document.
    Did you try to place instead of opening it?
    I haven't tried any of these since the resulting file would be utterly unusable. Basically this would create a 'flat' file with 'broken' strings of text (type on a path especially) and type being uneditable. (Now that I think about it, CS4 does a much better job of opening pdfs without breaking type.) I still think this approach is not really a prudent course of action since, as of now, I can continue to maintain this map in Illy 10.
    In my experimentation, the results are as follows:
    1. Opening the file without updating the legacy type, saving the file as a new document, closing and then re-opening results in a file you would expect. Every object is where it is supposed to be. Downfall of this method: I absolutely need the type to be editable, especially the 'Street Type' since this type is actually used to create map indexes.
    2. Opening the file with updating the legacy type, saving the file as a new document, closing and then re-opening results in a file that exhibits the exact behavior that has been posted in the thread-starter. This method results in the 'Bruce Gray' type being the duplicated item.
    3. Opening the file without updating the legacy type, then splitting the file into layer groups and saving as separate files. Then opening the resulting CS4 files, updating the legacy type, copy & pasting (with layer structure) into a new document results in a usable file up to a point. I can get about 95% of it put back together and then the problem manifests. I have thought that it might be a "bad" object on one of the layers but I have ruled that out by: a.) All of the resulting sub-files (files that are portions of the larger) exhibit no problems at all. Usually our PS printers find issues that Illy does not and there is no problem in RIPing the sub-files. b.) If I change the paste order, meaning copying & pasting from the top-most layers to the bottom-most layers, vice-versa, and a completely random paste order, different objects (other than the 'Bruce Gray' type) will be duplicated. I've had one of my park screens, a zip code type object and a school district boundary be the duplicated object.
    All of these experiments has lead me to believe that the Illustrator Type Engine is the main facilitor. I just don't think it can handle that many individual point type objects. I know CS4 can handle the number of objects, based on the fact that a legacy type (non-updated) file works.
    I am almost entirely sure that Illustrator is working exactly as it is supposed to and that the vast majority of Illy users will never run into this issue. This file is by far the largest file that I work on. I would just like to be able to use an Intel native version of CS to continue maintaining this map.
    On a side note: About three years ago, I tried working with this file in Freehand MX. Freehand initially would open the Illy file without a problem. I could work on it but when I would save it as a Freehand file, close it and re-open it, I would get your standard File Corruption. It would partially open, give me a corruption dialog, and open the file as a blank document. I alwa ys knew there was a reason to use Illustrator over Freehand for making maps.

Maybe you are looking for

  • Problems installing HP LJ M1319F printer driver

    I have a home/office network. My HP LJ M1319f is attached to a desktop machine that is always on. The printer is shared on my network and everyone has full permissions I have another desktop and a Laptop that can access the printer via the fact it's

  • E_ADEPT_REQUEST_EXPIRED

    I previously owned a Sony PRS700 which was damaged and didn't want to pay big bucks to replace.  I purchased a new reader by Aluratek, purchased 5 new ebooks from Ebooks.com (in pdf format). I tried to download and got the above noted error.  Contact

  • Packet Encryption/Decryption error

    This error message is from a site-to-site VPN router. The whole error message is like: Aug 11 00:37:22.725 Japan: %HW_VPN-1-HPRXERR: Virtual Private Network (VPN) Module0/13: Packet Encryption/Decryption error, status=4610 Aug 11 00:39:05.192 Japan:

  • MacBook Pro startup beep

    My MacBook Pro (Mid-2010) doesn't "beep" when starting up. What can the cause of this? Thanks.

  • SQL Report Row Highlighting

    Hi, Hoping someone can please assist but I am unsure how to highlight a row within my SQL Report based on a condition, i.e. either a DECODE or CASE statement being true - if so, would like that report highlighted light blue say. Any help, links,examp