I have some very large XML files, up to 10mB each, that I need to read into Matlab structures. I have tried the native xmlread and several other XML readers / parsers posted on Matlab Central's File Exchange. They all work OK but have yet to find a function that can do it without taking minutes per file. Anyone run across a fast(er) XML reader function?
I have some large XML files which are 15MB or more... in this case I get an error:
java.lang.OutOfMemoryError: Java heap space
So I am also in need of a better XML reader/parser. Particularly one that is more memory efficient. Is there something in the java libraries that I can use?
Scott <email@example.com> wrote:
> So I am also in need of a better XML reader/parser. Particularly one
> that is more memory efficient. Is there something in the java libraries
> that I can use?
If you are after speed and memory efficiency, rather than flexibility,
perhaps you should strip the XML tags from the file using sed / awk / perl,
to end up with a simple text file.
What does you XML file look like?
Dr Tristram J. Scott
On Oct 18, 1:16=A0pm, "Scott " <co...@ge.com> wrote:
> I have some large XML files which are 15MB or more... in this case I get =
> java.lang.OutOfMemoryError: Java heap space
> So I am also in need of a better XML reader/parser. =A0Particularly one t=
hat is more memory efficient. =A0Is there something in the java libraries t=
hat I can use?
You don't say what platform you are on (I've only tried the following
under Linux). The MATLAB program looks for a java.opts in your startup
directory. You can put the -Xms and -Xmx options like below which set
the minimum java heap size and the maximum (values are in bytes).
Every time more java heap space is required, I believe it tries to
double the current size. You can check some of these values from
within MATLAB using:
Acrobat Reader Install I'm trying to install Adobe Acrobat on my Sun Utra10/8 box. The install
actually seemed to work but when I tried to run the app, nada; I get
the error message:"ld.so.1:
libgdk_pixbuf_xlib-2.0.so.0: open failed: No such file or directory."
I'm not sure, but it could be that the problem has something to do with
the other software that is required, e.g., GNU C library (glibc), GTK+,
and some other stuff which is mentioned as a requirement in the
README.html. Although I've dabbled a little in C/C++, I'm a little
hesitant to mess around with glibc which I've heard can muck you if
you're not carefull. This is not my original purpose as I'm trying to
install other software that requires reading some PDF files. Anyway,
I'm looking for the most painless way of doing this. Appreciate any
Jim Nathan wrote:
> I'm trying to install Adobe Acrobat on my Sun Utra10/8 box.
Is that Solaris 8?
> The install
> actually seemed to work but when I tried to run the app, nada; I get
> the error message:"ld.so.1:
xmi reader and code generation Hello,
I need to read a xmi file generated from a UML tool and generate code
Can someone please point me to good articles, example ... to help me
to get started.
Is there a good java library to read an xmi file and iterate over the
such as classes or use cases.
ASDF and reader syntax I tend to run my Lisp images with this setting:
(setf (readtable-case *readtable*) :invert)
which works really well, almost all of the time.
It is the exceptions that concern me.
If a system really depends on the usual reader syntax
(readtable-case *readtable*) => :upcase, whose responsibility should
it be to ensure that such is the case?
I suppose I could do it myself, wrapping every (asdf:oos ...) in a
WITH-STANDARD-IO-SYNTAX form. Or I could write an :around method for
adsf:perform to the same effect. (I could, couldn't I?. I am not that
familiar with ASDF internals.../>
- It is undesirable to believe a proposition
when there is no ground whatsoever for supposing it is true.
-- Bertrand Russell
On Sun, 04 Jun 2006 23:30:22 +0200, Harald Hanche-Olsen wrote:
> I tend to run my Lisp images with this setting:
> (setf (readtable-case *readtable*) :invert)
> which works really well, almost all of the time.
> It is the exceptions that concern me.
> If a system really depends on the usual reader syntax
> (readtable-case *readtable*) => :upcase, whose responsibility should
> it be to ensure
Lisp Reader Modification and Macro Hi,
I am practicing my MOPfu by writing a mock ruby object system
(rooby). Just for the chance to practice lisp reader programming, I
want to have the dot-notation, like so:
(length. (to_str. 10))
would be equivalent to
But then, I don't know how to make that work with the macro, as the
reader would translate (msg. data) to (send data 'msg) at read time.
I suppose this is the same problem as trying to embed Lisp-1 in CL,
you need a code walker.
There must be an easier way.
If only CL (the language) has a metaprotocol like MOP... then it would
be so easy. Anybody has one lying around?
PS- if you have a mock ruby lying around, I would want to look at it
On Jan 26, 11:45 am, "howard yeh" <hay...@gmail.com> wrote:
> I am practicing my MOPfu by writing a mock ruby object system
> (rooby). Just for the chance to practice lisp reader programming, I
> want to have the dot-notation, like so:
> (length. (to_str. 10))
[ sip ]
> I suppose this is the same problem as trying to embed Lisp-1 in CL,
> you need a code walker.
In all you learning about MOP, Lisp-1, code walkers, etc. you have
Compact Flash Reader? Hi:
I need to get a CF card reader that works with Linux, preferrably.
I would like to get the Delkin one:
But this one is known to be compatible with Linux:
Sandisk also has USB 2.0 ones:
which they don't assert to be Linux compatible, but that doesn't mean
they won't work.
I had a Zio Smart media reader which worked with Linux for reading, but
I couldn't write to it.
Any recommendations? A USB 2.0 would be nice, since I've got some large
CF cards now.
Thanks for input.
Christopher R. Carlen
Principal Laser/Optical Technologist
Sandia National Laboratories CA USA
firstname.lastname@example.org -- NOTE: Remove "BOGUS" from email address to reply.
Chris Carlen <crcarle@BOGUS.sandia.gov> writes:
> I need to get a CF card reader that works with Linux, preferrably.
Just about any low-end USB CF reader will work with linux. The cheaper
it is, the more likely it'
OEM barcode reader ? Hi,
I'm looking for OEM suppliers of bar code reader modules. I don't need as
laser-based scanner but just a linear/LED based reader (the kind of reader
included in the shower-type readers), with a detection distance of say 1cm.
Module only without any packaging. Any link ?
On Sat, 22 Nov 2003 14:37:24 +0100, "Robert Lacoste"
>I'm looking for OEM suppliers of bar code reader modules. I don't need as
>laser-based scanner but just a linear/LED based reader (the kind of reader
>included in the shower-type readers), with a detection distance of say 1cm.
>Module only without any packaging. Any link ?
The standard companies for barcode scan engines are Symbol, Intermec,
PSC, and HHP (Hand Held Products). I have used the Intermec E1022
long range CCD scan engine - it will probably need a little more
distance than 1cm.
You might try perusing the catalogs of distributors like Scansource or
Direct Source for completed products which look promising and then
check the manufacturers for OEM modules.
Annoucing BRss Feed Reader Hi list.
I've written an offline RSS client using python-gobject and python-dbus.
Please check it out, and give feedback on how to make it better
Any contribution would be greatly appreciated.
If this is not the right place for this kind of annoucment, I apologize.
Acrobat Reader Question I am using Acrobat Reader 4.0.
Mac OS 9.2.1.
I was sent a .pdf file today that opens on clicking it's icon, but a
window comes up that says I need Helvetica - Bold in order to display
the .pdf file.
I looked in my system folder, and I do have Helvetica (Bold).
Is it just the structure of the _name_ of the font that keeps it from loading?
I suppose it is, but I've opened these sorts of files from the sender a
number of times before, without problem.
Who can answer the question, "Why now?"
I know there's an Acrobat Reader 6.0, but that's for when I get 10.2.6
up and running.
Presumably won't work with OS 9.2.x.
Thanks, keith whaley
Solved my own problem by downloading and installing Acrobat Reader v. 5.1.
That _does_ work with OS 9.2.1 and it's displayed the recalcitrant .pdf
file I was having problems with!
Keith Whaley wrote:
> I am using Acrobat Reader 4.0.
> Mac OS 9.2.1.
> I was sent a .pdf file today that opens on clicking it's icon, but a
> window comes up that says I need Helvetica - Bold in order to display
> the .pdf file.
> I looked in my system folder, and I do have Helvetica (Bold).
Web Forum Reader 3.0 Web Forum Reader is uniquely designed for reading Internet forums and
conferences. You can easily add your favorite forums to Web Forum
Reader to stay informed about updates and changes on these forums
without loading them in your browser. Web Forum Reader saves you time
by showing new and updated topics while hiding topics you have already
read. Web Forum Reader will also reduce the amount of data you
download compared to regular reading using a browser. Use Web Forum
Reader's handy Resource Addition Wizard to add Internet forums and
More Info: http://webforumreader.com/
Download URL: http://www.webforumreader.com/files/web-forum-reader-setup.exe
Screenshot URL: http://webforumreader.com/images/webforumreader-800x600.jpg
Order Page: http://webforumreader.com/
reader writer semaphores
I found some introductory material on the reader writer problem and
and I want to code a reader writer solution in C, using POSIX semaphores
on Linux (for multiple processes, not threads).
In his book, Downey mentions weak and strong semaphores. Anyone know if
POSIX semaphores are weak or strong on Linux?
Web mail, POP3, and SMTP
On Sun, 20 Jun 2010 20:17:17 +0000, John Kelly <email@example.com> wrote:
> Anyone know if POSIX semaphores are weak or strong on Linux?
I found some... in case of abnormal
termination, but I also hear they have some undesirable qualities too,
such as performance and system limitations.
So if Apache prefers flock(), I wondered why not use it in place of
POSIX semaphores. It seems that flock() provides an easy solution to
the reader writer problem:
EX lock gate EX lock gate
SH lock data EX lock data
unlock gate unlock gate
read data write data
unlock data unlock data
EX == flock() EXCLUSIVE
SH == flock() SHARED
"gate" and "