$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] multi_array with large dimensions crashes
From: Jothy (jothybasu_at_[hidden])
Date: 2011-08-23 06:18:50
Hi all,
I have just started to use boost libs. I am trying to create a large float
array (mandatory for my purpose). it works fine till certain limit, but
crashes above that. I think it about allocating memory in the stack.
My code is like this
typedef boost::multi_array<float,3> array_type;
typedef array_type::index index;
array_type Array(boost::extents[xDim][yDim][zDim]);//500,300,400 for
instance
Can some one help me to resolve this?
Thanks
Jothy