例外が発生したのでご報告します。
原因はわかってます、テーブルの項目数が多すぎてメモリ不足?になったんです。
ファイル自体は100MBぐらいなのですが。
分割するなり工夫するなりしろと言わればそれまでなのですが、一応…
114万件のテーブルを1つだけ含むファイル(100MB程度)を開いて
列ヘッダーで右リックするとしばらく固まったのち例外が発生
(このときPupSQLite.exeのメモリ消費量は1280MBでした)
Application.ThreadExceptionによる例外通知です。
――――――――
エラーが発生しました。以下の情報と再現可能なファイル、
もしくは操作を添えてPupまでお知らせ頂ければ改善させて頂きます。
【バージョン】1.30.15.5
【エラー内容】
種類 'System.OutOfMemoryException' の例外がスローされました。
【スタックトレース】
場所 System.Windows.Forms.PropertyStore.SetInteger(Int32 key, Int32 value)
場所 System.Windows.Forms.DataGridViewTextBoxCell.set_MaxInputLength(Int32 value)
場所 System.Windows.Forms.DataGridViewTextBoxCell.Clone()
場所 System.Windows.Forms.DataGridViewRow.CloneCells(DataGridViewRow rowTemplate)
場所 System.Windows.Forms.DataGridViewRow.Clone()
場所 System.Windows.Forms.DataGridViewRowCollection.get_Item(Int32 index)
場所 PupSQLite.Form_DataGridView.MySort(Int32 SortedColumnIndex, SortOrder So)
場所 PupSQLite.Form_DataGridView.dgv_ColumnHeaderMouseClick(Object sender, DataGridViewCellMouseEventArgs e)
場所 System.Windows.Forms.DataGridView.OnColumnHeaderMouseClick(DataGridViewCellMouseEventArgs e)
場所 System.Windows.Forms.DataGridView.OnMouseClick(MouseEventArgs e)
場所 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
場所 System.Windows.Forms.Control.WndProc(Message& m)
場所 System.Windows.Forms.DataGridView.WndProc(Message& m)
場所 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
場所 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
場所 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
巨大テーブルが扱えない?
- DARUMA
- 2017/11/22 (Wed) 17:16:34