Click here to Skip to main content
15,902,189 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to birng to top an application? Pin
Valeria Bogdevich23-Jul-03 22:05
Valeria Bogdevich23-Jul-03 22:05 
GeneralReflector Pin
monrobot1323-Jul-03 3:22
monrobot1323-Jul-03 3:22 
GeneralRe: Reflector Pin
Nathan Blomquist23-Jul-03 4:55
Nathan Blomquist23-Jul-03 4:55 
GeneralRe: Reflector Pin
Erick Sgarbi23-Jul-03 17:41
Erick Sgarbi23-Jul-03 17:41 
GeneralRe: Reflector Pin
Ista24-Jul-03 5:54
Ista24-Jul-03 5:54 
GeneralRe: Reflector Pin
Arun Bhalla24-Jul-03 12:00
Arun Bhalla24-Jul-03 12:00 
GeneralRegEx Pin
Iulian Serban23-Jul-03 2:11
Iulian Serban23-Jul-03 2:11 
GeneralRe: RegEx Pin
Rein Hillmann23-Jul-03 5:55
Rein Hillmann23-Jul-03 5:55 
GeneralRe: RegEx Pin
Iulian Serban23-Jul-03 7:08
Iulian Serban23-Jul-03 7:08 
QuestionListViewItem drag drop example? Pin
azusakt22-Jul-03 23:41
azusakt22-Jul-03 23:41 
AnswerRe: ListViewItem drag drop example? Pin
Rocky Moore23-Jul-03 1:36
Rocky Moore23-Jul-03 1:36 
GeneralRe: ListViewItem drag drop example? Pin
azusakt23-Jul-03 15:41
azusakt23-Jul-03 15:41 
Generalwrite code behind Pin
KETUINHA22-Jul-03 23:05
KETUINHA22-Jul-03 23:05 
GeneralTurn off dynamic versioning Pin
eggie522-Jul-03 22:19
eggie522-Jul-03 22:19 
GeneralRe: Turn off dynamic versioning Pin
freshthinking22-Jul-03 22:40
freshthinking22-Jul-03 22:40 
GeneralRe: Turn off dynamic versioning Pin
Arun Bhalla24-Jul-03 12:12
Arun Bhalla24-Jul-03 12:12 
GeneralRe: Turn off dynamic versioning Pin
Arun Bhalla24-Jul-03 13:08
Arun Bhalla24-Jul-03 13:08 
GeneralRe: Turn off dynamic versioning - revision v build Pin
NigelAston24-Apr-05 22:22
NigelAston24-Apr-05 22:22 
QuestionHow to add the XP theme support to VC# .Net Application? Pin
EastDragon22-Jul-03 20:30
EastDragon22-Jul-03 20:30 
AnswerRe: How to add the XP theme support to VC# .Net Application? Pin
Nick Parker22-Jul-03 20:54
protectorNick Parker22-Jul-03 20:54 
QuestionA decent alternative to MSHTML? Pin
Arun Bhalla22-Jul-03 15:58
Arun Bhalla22-Jul-03 15:58 
GeneralWorkarounds for dealing with Large Objects Pin
Arun Bhalla22-Jul-03 15:47
Arun Bhalla22-Jul-03 15:47 
Continuing my short series of questions to ask, and as always, they all pertain to my particular work project, which involves visualizing Web searches, so there is a fair amount of intense parsing, and a fair amount of GDI+ usage and custom controls.

My understanding is that the way the .NET CLR handles Large Objects (> 85K), it has a separate memory pool which is never garbage-collected, for performance reasons, except perhaps if the system is running extremely low on memory. This is not preferable for my client application, where it's possible that I will be parsing Web pages (and possibly storing them for a period of time in memory), and many Web pages can be longer than 85K.

It seems like there would be some handy ways to deal with the Large Objects problem. My understanding is that garbage collection for Large Objects cannot be forced like it can for ordinary garbage collection. It seems like there would be two decent solutions: 1) breaking down my large objects (mainly strings, in my case) into 84K (or smaller) chunks, or 2) using unmanaged memory which I manage myself. Presently the source of my strings is from HTMLDocument objects, which is basically COM (MSHTML), so while I might prefer to use unmanaged memory, I don't really know how I would do all this in C#, avoiding marshalling a long string through some .NET wrapper before putting it back in unmanaged memory. I guess two possible solutions then would be to either write some unmanaged code (hopefully in C#, as I think I would be doomed in Win32 C/C++!), or try to find some Stream-based access from HTMLDocument, which would allow me to store a document a series of chunks. Then there are other problems, like finding ways to deal with these chunks....


Any advice would be appreciated. Smile | :)
Thanks,
Arun
GeneralRe: Workarounds for dealing with Large Objects Pin
apferreira23-Jul-03 7:25
apferreira23-Jul-03 7:25 
GeneralRe: Workarounds for dealing with Large Objects Pin
Arun Bhalla23-Jul-03 7:40
Arun Bhalla23-Jul-03 7:40 
GeneralRe: Workarounds for dealing with Large Objects Pin
Arun Bhalla23-Jul-03 8:10
Arun Bhalla23-Jul-03 8:10 

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.