Re: [MarkLogic Dev General] Too many open files

2011-09-02 Thread Ron Hitchens
It looks like you've found a bug and the culprit is setTimeoutMillis(). I rewrote your code a bit to eliminate the unnecessary object churn (Session, RequestOptions and AdhocQuery can all be re-used), and commented out the call to setTimeoutMillis(). Without that setting, it runs fine.

[MarkLogic Dev General] Too many open files

2011-08-29 Thread Dale Lowry
I am running out of file handles doing a series of basic queries to the server using XCC. Hopefully you can find something simple I'm doing wrong in the following code. public static void main(String[] args) throws URISyntaxException, XccConfigException, RequestException { ContentSource

[MarkLogic Dev General] Too many open files in ML Server 4.1.4 / XP

2010-01-21 Thread Lee, David
I'm experimenting with bulk-loading XML files by spawning background tasks to load a set of files. I ran into this just now .. 2010-01-21 16:42:15.718 Notice: TaskServer: SVC-FILOPN: xdmp:document-load(H:\MarkLogic\NDC/249106.xml, options

RE: [MarkLogic Dev General] Too many open files in ML Server 4.1.4 / XP

2010-01-21 Thread Geert Josten
worden ontleend. From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Lee, David Sent: donderdag 21 januari 2010 23:07 To: General@developer.marklogic.com Subject: [MarkLogic Dev General] Too many open files in ML Server 4.1.4 / XP I'm

RE: [MarkLogic Dev General] Too many open files in ML Server4.1.4/ XP

2010-01-21 Thread Geert Josten
Hi David, I can't remember, I think I did 500 or 1000 I figured more the better so it would use less tasks ... (but too many and it would time out). Sorry, you already mentioned that.. But doesn't this imply that xdmp:document-load() doesnt close the file when its done. ?? Yeah, doesn't