Dear all:
I'm a new guy to hadoop, and I want to immigrate my existing project (by
C++ ) to Hadoop using JNI.
All the feature seems OK, except one method.
When it is invoked, hadoop gives me a error message, which is : bad_alloc.
I googled this message, it tells me, this is a common problem when your
memory is used up, but my memory is not full yet.
Are there some limitations of memory in Haoop? Especially when using JNI
methods?
This program has been tested millions of times, so the problem should not
be in my C++ program.
Could anyone give me a answer? Thanks a lot!!
PS: I have changed my JDK for several different versions, but it does not
work.
BW
Liu Song