Click here to Skip to main content
15,887,923 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to print a web page in c# without using Javascript Pin
smiley_jatin2-Aug-09 21:37
smiley_jatin2-Aug-09 21:37 
GeneralRe: how to print a web page in c# without using Javascript Pin
Christian Graus2-Aug-09 21:56
protectorChristian Graus2-Aug-09 21:56 
GeneralRe: how to print a web page in c# without using Javascript Pin
smiley_jatin2-Aug-09 22:44
smiley_jatin2-Aug-09 22:44 
GeneralRe: how to print a web page in c# without using Javascript Pin
dan!sh 2-Aug-09 23:12
professional dan!sh 2-Aug-09 23:12 
GeneralRe: how to print a web page in c# without using Javascript Pin
marcoreg4-Aug-09 4:54
marcoreg4-Aug-09 4:54 
Question64bit and OutOfMemory Pin
Super Lloyd2-Aug-09 20:32
Super Lloyd2-Aug-09 20:32 
AnswerRe: 64bit and OutOfMemory Pin
Christian Graus2-Aug-09 20:40
protectorChristian Graus2-Aug-09 20:40 
GeneralRe: 64bit and OutOfMemory Pin
Super Lloyd2-Aug-09 23:38
Super Lloyd2-Aug-09 23:38 
I'm between a rock and a hard place.

What I'm doing is:

Reading data in a DataTable
Writing the DataTable in a "MapXtreme Table".

Writing to MapXtreme is godamn slow and if I read line by line in the reader and directly write line by line in the MapXtreme table, I will certaimnly reduce memory consumption. But it might take up to half an hour to write all the data in a MapXtreme table, and I have SQL Timeout.
My SQL timeout is already 10 minute and I'm not eager to increase it more.

So I decided to read all the data in a DataTable first (quick), close the SQl connection and then write it to MapXtreme.

I have OutOfMemory of the DataTable.Load()...
Mmhh... I'm thinking I can load my data in chunk perhaps? tricky but feasible..
But then I also get out of memory in MapXtreme Table.Write (Row i.e. Feature)
I can't really do anything there... MapXtreme support is appealing so I won't get much help from their either Frown | :(

But anyway, the MapXtreme files are, at most, about 30~40 Mb, so it stands to reason that the memory used can't be much more than that.

40Mb is not that much in a 64bit server with 8GB memory + virtual memory, why do I get that?

A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.

AnswerRe: 64bit and OutOfMemory Pin
Vimalsoft(Pty) Ltd2-Aug-09 21:39
professionalVimalsoft(Pty) Ltd2-Aug-09 21:39 
AnswerRe: 64bit and OutOfMemory Pin
Luc Pattyn3-Aug-09 0:10
sitebuilderLuc Pattyn3-Aug-09 0:10 
GeneralRe: 64bit and OutOfMemory Pin
Super Lloyd3-Aug-09 0:28
Super Lloyd3-Aug-09 0:28 
GeneralRe: 64bit and OutOfMemory Pin
Luc Pattyn3-Aug-09 0:55
sitebuilderLuc Pattyn3-Aug-09 0:55 
GeneralRe: 64bit and OutOfMemory Pin
Super Lloyd3-Aug-09 1:09
Super Lloyd3-Aug-09 1:09 
AnswerRe: 64bit and OutOfMemory Pin
Alan Balkany3-Aug-09 4:47
Alan Balkany3-Aug-09 4:47 
QuestionHow to detect if a folder is open Pin
rick05562-Aug-09 20:25
rick05562-Aug-09 20:25 
AnswerRe: How to detect if a folder is open Pin
Christian Graus2-Aug-09 20:37
protectorChristian Graus2-Aug-09 20:37 
Answer[Message Deleted] Pin
Hristo-Bojilov2-Aug-09 21:31
Hristo-Bojilov2-Aug-09 21:31 
GeneralRe: How to detect if a folder is open Pin
rick05562-Aug-09 21:45
rick05562-Aug-09 21:45 
GeneralRe: How to detect if a folder is open Pin
Christian Graus2-Aug-09 21:58
protectorChristian Graus2-Aug-09 21:58 
GeneralRe: How to detect if a folder is open Pin
Dave Kreskowiak3-Aug-09 3:49
mveDave Kreskowiak3-Aug-09 3:49 
GeneralRe: How to detect if a folder is open Pin
Hristo-Bojilov3-Aug-09 7:37
Hristo-Bojilov3-Aug-09 7:37 
QuestionLinq Pin
Sayed Sajid2-Aug-09 20:21
Sayed Sajid2-Aug-09 20:21 
AnswerRe: Linq Pin
Christian Graus2-Aug-09 20:35
protectorChristian Graus2-Aug-09 20:35 
GeneralRe: Linq Pin
Sayed Sajid2-Aug-09 20:42
Sayed Sajid2-Aug-09 20:42 
GeneralRe: Linq Pin
riced2-Aug-09 23:18
riced2-Aug-09 23:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.