Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.2K Views
|
4 Replies
|
4 Total Likes
View groups...
Share
Share this post:

Too much memory usage when working with lists, but not when working with datasets

Posted 1 year ago
POSTED BY: Ehud Behar
4 Replies

3600×2 of machine real numbers takes up <60 KB packed or <350 KB unpacked. It's a small amount of memory. It's doesn't rule out a memory-related problem, since who knows what sort of operations you're performing. But even DistanceMatrix[] on the array takes up only 100 MB (packed).

I've experienced silent kernel crashes. I assume that's what you have. I'm not sure I've ever know what causes them. Mathematica can catch some things that request too much memory. I've sometimes guessed that an error occurs in a library, and the kernel is not prepared to deal with the consequences.

POSTED BY: Michael Rogers

If it happens in ListPlot that sounds like a crash bug. Maybe send example to Tech Support.

POSTED BY: Daniel Lichtblau

You might intersperse code with MaxMemoryUsed[] to see if memory consumption is the actual issue.

POSTED BY: Daniel Lichtblau
Posted 1 year ago

Sorry, I forgot to mention it in the original post: the symbols are reset also when doing ListPlot[{list1,list2}]. Does that take any considerable memory?

POSTED BY: Ehud Behar
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard