Hi,
I've got a "Segmentation Fault" error in C++ when trying to allocate a vector with a dimension of 2 million. I'm using the library "memory.h"
Any help is welcome
willy
willy2511
0
Newbie Poster
Recommended Answers
Jump to Post>I've got a "Segmentation Fault" error in C++ when trying to allocate a vector with a dimension of 2 million.
2 million what? Chances are good you're exceeding the limits of a single allocation request. But it's hard to say without seeing some code.
All 3 Replies
Narue
5,707
Bad Cop
Team Colleague
John A
1,896
Vampirical Lurker
Team Colleague
Salem
5,138
Posting Sage
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.