Comments (10)
The same code, with little changes:
jsCtx.eval(str(
"""
var arr = new Array();
for(var i=0;i<1000;i++) {
arr[i] = "a" + 1;
}
"""
))
arr = jsCtx.locals.arr
for k in arr:
print k
Prints "stdout" ??
Original comment by [email protected]
on 22 Feb 2010 at 3:07
from pyv8.
I need to setup a x64 environment and reproduce it, could you reproduce it on
x86
system? I tried the latest SVN build, it seems ok
Original comment by [email protected]
on 22 Feb 2010 at 6:00
- Changed state: Accepted
from pyv8.
Hm, my test machine is x64, but the installation files (python2.6 + pyv8 are x86
installation), so i dont think this is because of the x64 machine.
Currently i dont have proper Windows machine with x86 :(
I can test it on x86 (ubuntu) the next week if this will help ?
Original comment by [email protected]
on 23 Feb 2010 at 11:59
from pyv8.
ok, I will install a test machine to verify it soon, thanks anyway
Original comment by [email protected]
on 23 Feb 2010 at 12:09
from pyv8.
10x for the good support :)
If you need something else, message me here, so i can help :)
Original comment by [email protected]
on 23 Feb 2010 at 12:13
from pyv8.
I have installed a x64 and x86 test machine, it seems PyV8 v0.8 definitely have
issue
to handle a very large array. I guess the root cause is the wrong reference
count,
because I have fixed several related issues in the latest SVN build, and it
seems ok
to run your test script.
So, could you verify it with the private build in attachment? I think I should
make
some paper work to release a new v0.9 version in this week, I wish it could
solve
your issue.
Thanks
Original comment by [email protected]
on 24 Feb 2010 at 5:15
- Changed state: Fixed
- Added labels: OpSys-All
Attachments:
from pyv8.
tested and it works :)
10x
Original comment by [email protected]
on 25 Feb 2010 at 6:43
from pyv8.
Thanks :)
Original comment by [email protected]
on 25 Feb 2010 at 6:45
- Changed state: Verified
from pyv8.
Just wondering, is this bug valid in the linux pkg too ?
I'm about to push the new pyv8 on our productions, so just wondering to wait
for the
new build or its already working (under linux x64) ?
Original comment by [email protected]
on 25 Feb 2010 at 6:54
from pyv8.
I think it should be a general issue, because the reference count doesn't
depend on
the platform. As you known, boost::python handle most of the reference count
issues,
but some special situation need be handled by manual.
In fact, the basic features has stabled a few weeks ago, but I had planned to
release
PyV8 v0.9 with the full feature Javascript AST support, but the plan was
delayed :(
So, the v0.9 will be released in this week without AST by default, because it
is a
very independent module.
It means, the SVN code will not be modified except the AST and build related
issues
:)
Original comment by [email protected]
on 25 Feb 2010 at 7:06
from pyv8.
Related Issues (20)
- Memory leak with evaluating pure JS HOT 3
- How to load contents of alert screen ?
- Update version on PyPI
- error: 'CLASSIC_MODE' is not a member of 'v8i' v8 API change ?
- REVISION
- AST can't visit object properties: No to_python (by-value) converter found for C++ type: v8::internal::ObjectLiteralProperty*
- src/Context.h:66:114: error: no member named 'HasOutOfMemoryException' in 'v8::Context'
- Help !!
- Precompiled for Debain x64 HOT 1
- Failed to pip install/build under linux x64 — lot of errors in src/Wrapper.cpp HOT 1
- segfault
- compile failed with error code 1
- Segmentation fault when incorrectly instantiating a new Date
- error install from pip
- a python object/memory leak problem
- build stalls on install/update GYP
- fatal error: 'v8.h' file not found
- compile error
- PyV8 segmentation fault with CherryPy HOT 2
- ImportError: No module named _PyV8 after install
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyv8.