Click here to Skip to main content
15,920,633 members
Home / Discussions / C#
   

C#

 
GeneralRe: debugging a windows service... how? Pin
Mark Churchill26-Aug-07 17:56
Mark Churchill26-Aug-07 17:56 
Questionmy form get lost focus in MultiThread mod. Pin
hdv21226-Aug-07 2:35
hdv21226-Aug-07 2:35 
QuestionSELECT COL1,COL2,SUM(COL1,COL2) AS COL3 FROM TEST; Pin
Muammar©26-Aug-07 1:15
Muammar©26-Aug-07 1:15 
AnswerRe: SELECT COL1,COL2,SUM(COL1,COL2) AS COL3 FROM TEST; Pin
Christian Graus26-Aug-07 1:28
protectorChristian Graus26-Aug-07 1:28 
GeneralRe: SELECT COL1,COL2,SUM(COL1,COL2) AS COL3 FROM TEST; Pin
Muammar©26-Aug-07 1:38
Muammar©26-Aug-07 1:38 
AnswerRe: SELECT COL1,COL2,SUM(COL1,COL2) AS COL3 FROM TEST; Pin
Luis Alonso Ramos26-Aug-07 6:52
Luis Alonso Ramos26-Aug-07 6:52 
QuestionSetup package Pin
justintimberlake25-Aug-07 23:03
justintimberlake25-Aug-07 23:03 
QuestionDataTable.DefaultView.Sort throwing out of memory exception Pin
michal.kreslik25-Aug-07 22:26
michal.kreslik25-Aug-07 22:26 
Hello,

my utility works ok on small data samples, but it's throwing an "Out of memory" exception on me whenever I try to apply it on a bigger data sample (a couple of hundred MBs). The exception is thrown during the sort.

Is this a physical limitation of the DataTable or am I missing something?

This is the dump of the exception description:

System.OutOfMemoryException was unhandled
  Message="Exception of type 'System.OutOfMemoryException' was thrown."
  Source="System.Data"
  StackTrace:
       at System.Data.RBTree`1.TreePage..ctor(Int32 size)
       at System.Data.RBTree`1.AllocPage(Int32 size)
       at System.Data.RBTree`1.GetNewNode(K key)
       at System.Data.RBTree`1.Insert(K item)
       at System.Data.Index.InitRecords(IFilter filter)
       at System.Data.Index..ctor(DataTable table, Int32[] ndexDesc, IndexField[] indexFields, DataViewRowState recordStates, IFilter rowFilter)
       at System.Data.DataTable.GetIndex(IndexField[] indexDesc, DataViewRowState recordStates, IFilter rowFilter)
       at System.Data.DataView.UpdateIndex(Boolean force, Boolean fireEvent)
       at System.Data.DataView.UpdateIndex(Boolean force)
       at System.Data.DataView.SetIndex2(String newSort, DataViewRowState newRowStates, DataExpression newRowFilter, Boolean fireEvent)
       at System.Data.DataTable.get_DefaultView()
       at TickConvertor.Program.Main(String[] args)


Thanks much for any input!

Michal
AnswerRe: DataTable.DefaultView.Sort throwing out of memory exception Pin
michal.kreslik26-Aug-07 20:01
michal.kreslik26-Aug-07 20:01 
GeneralRe: DataTable.DefaultView.Sort throwing out of memory exception Pin
michal.kreslik26-Aug-07 21:29
michal.kreslik26-Aug-07 21:29 
QuestionC# 2005 to VB.net 2005 project conversion? Pin
y2ktheory25-Aug-07 22:26
y2ktheory25-Aug-07 22:26 
AnswerRe: C# 2005 to VB.net 2005 project conversion? Pin
Christian Graus26-Aug-07 1:31
protectorChristian Graus26-Aug-07 1:31 
AnswerRe: C# 2005 to VB.net 2005 project conversion? Pin
Lutosław26-Aug-07 9:29
Lutosław26-Aug-07 9:29 
GeneralRe: C# 2005 to VB.net 2005 project conversion? Pin
y2ktheory26-Aug-07 10:14
y2ktheory26-Aug-07 10:14 
QuestionRegular expression in C# ... Question. Pin
Yanshof25-Aug-07 22:07
Yanshof25-Aug-07 22:07 
AnswerRe: Regular expression in C# ... Question. Pin
Christian Graus25-Aug-07 22:15
protectorChristian Graus25-Aug-07 22:15 
AnswerRe: Regular expression in C# ... Question. Pin
PIEBALDconsult26-Aug-07 4:37
mvePIEBALDconsult26-Aug-07 4:37 
AnswerRe: Regular expression in C# ... Question. Pin
Mark Churchill26-Aug-07 19:48
Mark Churchill26-Aug-07 19:48 
AnswerRe: Regular expression in C# ... Question. Pin
Urs Enzler26-Aug-07 20:20
Urs Enzler26-Aug-07 20:20 
Questionc# Pin
lankaudaranga25-Aug-07 21:30
lankaudaranga25-Aug-07 21:30 
AnswerRe: c# Pin
Christian Graus25-Aug-07 21:53
protectorChristian Graus25-Aug-07 21:53 
GeneralRe: c# Pin
Paul Conrad26-Aug-07 7:57
professionalPaul Conrad26-Aug-07 7:57 
AnswerRe: c# Pin
Paul Conrad26-Aug-07 7:57
professionalPaul Conrad26-Aug-07 7:57 
Questionjpegtran Wrapper DLL Pin
kuyawsadabaw25-Aug-07 18:29
kuyawsadabaw25-Aug-07 18:29 
AnswerRe: jpegtran Wrapper DLL Pin
Christian Graus25-Aug-07 22:15
protectorChristian Graus25-Aug-07 22:15 

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.