{"action":"created","issue":{"url":"https://api.github.com/repos/maciejkula/glove-python/issues/28","labels_url":"https://api.github.com/repos/maciejkula/glove-python/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/maciejkula/glove-python/issues/28/comments","events_url":"https://api.github.com/repos/maciejkula/glove-python/issues/28/events","html_url":"https://github.com/maciejkula/glove-python/issues/28","id":66533885,"number":28,"title":"Index overflow with large matrix? (ValueError: negative dimensions are not allowed)","user":{"login":"DreamFlasher","id":31695,"avatar_url":"https://avatars.githubusercontent.com/u/31695?v=3","gravatar_id":"","url":"https://api.github.com/users/DreamFlasher","html_url":"https://github.com/DreamFlasher","followers_url":"https://api.github.com/users/DreamFlasher/followers","following_url":"https://api.github.com/users/DreamFlasher/following{/other_user}","gists_url":"https://api.github.com/users/DreamFlasher/gists{/gist_id}","starred_url":"https://api.github.com/users/DreamFlasher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DreamFlasher/subscriptions","organizations_url":"https://api.github.com/users/DreamFlasher/orgs","repos_url":"https://api.github.com/users/DreamFlasher/repos","events_url":"https://api.github.com/users/DreamFlasher/events{/privacy}","received_events_url":"https://api.github.com/users/DreamFlasher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-06T05:45:01Z","updated_at":"2015-04-10T10:21:49Z","closed_at":null,"body":"For a cooc matrix with dimensionality 1.5 million * 1.5 million I get the following error:\r\n\r\n```python\r\n  File \"build/bdist.linux-x86_64/egg/glove/corpus.py\", line 70, in fit\r\n    max_map_size)\r\n  File \"glove/corpus_cython.pyx\", line 279, in glove.corpus_cython.construct_cooccurrence_matrix (glove/corpus_cython.cpp:3465)\r\n  File \"glove/corpus_cython.pyx\", line 145, in glove.corpus_cython.Matrix.to_coo (glove/corpus_cython.cpp:2290)\r\nValueError: negative dimensions are not allowed\r\n```\r\n\r\nIt's a bit weird cause the dimensions use integer and int.max >> (1.5 mio)^2."},"comment":{"url":"https://api.github.com/repos/maciejkula/glove-python/issues/comments/91507631","html_url":"https://github.com/maciejkula/glove-python/issues/28#issuecomment-91507631","issue_url":"https://api.github.com/repos/maciejkula/glove-python/issues/28","id":91507631,"user":{"login":"DreamFlasher","id":31695,"avatar_url":"https://avatars.githubusercontent.com/u/31695?v=3","gravatar_id":"","url":"https://api.github.com/users/DreamFlasher","html_url":"https://github.com/DreamFlasher","followers_url":"https://api.github.com/users/DreamFlasher/followers","following_url":"https://api.github.com/users/DreamFlasher/following{/other_user}","gists_url":"https://api.github.com/users/DreamFlasher/gists{/gist_id}","starred_url":"https://api.github.com/users/DreamFlasher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DreamFlasher/subscriptions","organizations_url":"https://api.github.com/users/DreamFlasher/orgs","repos_url":"https://api.github.com/users/DreamFlasher/repos","events_url":"https://api.github.com/users/DreamFlasher/events{/privacy}","received_events_url":"https://api.github.com/users/DreamFlasher/received_events","type":"User","site_admin":false},"created_at":"2015-04-10T10:21:49Z","updated_at":"2015-04-10T10:21:49Z","body":"I am on a 64 bit architecture. How do I check the C size of my ints?"}}