Community Forums

Home » Vuze Forums » Devices


Thread: Error: Transcode Failed. Java Heap Space???


Thread Locked This thread is locked - replies are not allowed.


This question is not answered. Helpful answers available: 3. Correct answers available: 1.

Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 5 - Pages: 1 - Last Post: Jun 15, 2009 2:44 PM Last Post By: ApolloCreed
gazray4699

Posts: 2
Registered: 05/05/09
Error: Transcode Failed. Java Heap Space???
Posted: May 5, 2009 1:30 PM
 
Click to report abuse...
I have recently received this error when converting an .MKV file into an MP4 file for play on my Xbox 360. I have read up on some of it and come to the conclusion my Java memory is full up. Now... when it comes to Java, I'm lost at sea. I have no clue how to empty the memory or even if that is the right explanation for this error. Ultimately, it frustrates me completely. I know of no way to fix it and upon finding an already current thread on the forums about it with absolutely no answers, I'm even more frustrated. Can someone give me any answers as to what's occuring here?

Running Vuze on:

Windows XP (SP2)
AMD Athlon 64 X2 Dual Core Processor 5000+ 2.61 Ghz processor
2.00 GB of RAM
250 GB HD

Vuze version: 4.2.0.2

Vuze system info:
Java 1.6.0_11
Sun Microsystems Inc.
SWT v3448, win32
Windows XP v5.1, x86
V4.2.0.2 az3

Edited by: gazray4699 on May 5, 2009 1:33 PM
pono650

Posts: 952
Registered: 03/19/08
Re: Error: Transcode Failed. Java Heap Space???
Posted: May 5, 2009 4:22 PM   in response to: gazray4699 in response to: gazray4699
 
Click to report abuse...
There's probably nothing you can do directly. How large is the file you are converting and what does the analysis in the VuzeTranscoder_*.log files show about the size, bitrate, codec, etc. (You can copy and paste the lines starting with the one containing "Analysing <content name>" through to the "Transcoding http://127.0.0.1....". Delete the content title if you prefer.) And thanks for participating in the beta.
gazray4699

Posts: 2
Registered: 05/05/09
Re: Error: Transcode Failed. Java Heap Space???
Posted: May 6, 2009 3:31 AM   in response to: pono650 in response to: pono650
 
Click to report abuse...
It's a beta?!? >.> I just updated as usual...

Anyway, the file isn't that large. 229.63 MB it says in the Torrent download screen. The log says this for the file as follows.

Analysing C:\Documents and Settings\Gareth\My Documents\Azureus Downloads\Tenchi Muyo\Seina Yamada[a4e]Tenchi_Muyo_GXP_20http://divx5.2.1.mkv/XBox 360 SD
0505 16:30:17 16:30:17 General
0505 16:30:17 16:30:17 Complete name: C:\Documents and Settings\Gareth\My Documents\Azureus Downloads\Tenchi Muyo\Seina Yamada[a4e]Tenchi_Muyo_GXP_20http://divx5.2.1.mkv
0505 16:30:17 16:30:17 Format: Matroska
0505 16:30:17 16:30:17 File size: 230 MiB
0505 16:30:17 16:30:17 Duration: 23mn 50s
0505 16:30:17 16:30:17 Overall bit rate: 1 347 Kbps
0505 16:30:17 16:30:17 Movie name: Anime-4ever Tenchi Muyo GXP 20 : The Ship that Brings Luck (Beware The Unko!)
0505 16:30:17 16:30:17 Encoded date: UTC 2004-10-26 19:31:13
0505 16:30:17 16:30:17 Writing application: mkvmerge v0.8.9 built on May 6 2004 19:48:43
0505 16:30:17 16:30:17 Writing library: libebml v0.7.0 + libmatroska v0.7.0
0505 16:30:17 16:30:17
0505 16:30:17 16:30:17 Video
0505 16:30:17 16:30:17 ID: 1
0505 16:30:17 16:30:17 Format: MPEG-4 Visual
0505 16:30:17 16:30:17 Format settings, BVOP: Yes
0505 16:30:17 16:30:17 Format settings, QPel: No
0505 16:30:17 16:30:17 Format settings, GMC: No warppoints
0505 16:30:17 16:30:17 Format settings, Matrix: Default
0505 16:30:17 16:30:17 Codec ID: DX50
0505 16:30:17 16:30:17 Codec ID/Hint: DivX 5
0505 16:30:17 16:30:17 Duration: 23mn 49s
0505 16:30:17 16:30:17 Width: 704 pixels
0505 16:30:17 16:30:17 Height: 528 pixels
0505 16:30:17 16:30:17 Display aspect ratio: 4/3
0505 16:30:17 16:30:17 Frame rate: 29.970 fps
0505 16:30:17 16:30:17 Resolution: 24 bits
0505 16:30:17 16:30:17 Colorimetry: 4:2:0
0505 16:30:17 16:30:17 Scan type: Progressive
0505 16:30:17 16:30:17 Title: a4eTenchi Muyo GXP 20
0505 16:30:17 16:30:17 Writing library: DivX 5.2.1 (WaffleDay) (UTC 2004-09-08)
0505 16:30:17 16:30:17 Language: Japanese
0505 16:30:17 16:30:17
0505 16:30:17 16:30:17 Audio #1
0505 16:30:17 16:30:17 ID: 2
0505 16:30:17 16:30:17 Format: AAC
0505 16:30:17 16:30:17 Format/Info: Advanced Audio Codec
0505 16:30:17 16:30:17 Format version: Version 4
0505 16:30:17 16:30:17 Format profile: LC
0505 16:30:17 16:30:17 Format settings, SBR: Yes
0505 16:30:17 16:30:17 Format settings, PS: No
0505 16:30:17 16:30:17 Codec ID: A_AAC/MPEG4/LC/SBR
0505 16:30:17 16:30:17 Duration: 23mn 50s
0505 16:30:17 16:30:17 Channel(s): 6 channels
0505 16:30:17 16:30:17 Sampling rate: 48.0 KHz
0505 16:30:17 16:30:17 Title: Japanese Audio
0505 16:30:17 16:30:17 Language: Japanese
0505 16:30:17 16:30:17
0505 16:30:17 16:30:17 Audio #2
0505 16:30:17 16:30:17 ID: 3
0505 16:30:17 16:30:17 Format: AAC
0505 16:30:17 16:30:17 Format/Info: Advanced Audio Codec
0505 16:30:17 16:30:17 Format version: Version 4
0505 16:30:17 16:30:17 Format profile: LC
0505 16:30:17 16:30:17 Format settings, SBR: Yes
0505 16:30:17 16:30:17 Format settings, PS: No
0505 16:30:17 16:30:17 Codec ID: A_AAC/MPEG4/LC/SBR
0505 16:30:17 16:30:17 Duration: 23mn 50s
0505 16:30:17 16:30:17 Channel(s): 6 channels
0505 16:30:18 16:30:18 Sampling rate: 48.0 KHz
0505 16:30:18 16:30:18 Title: English Audio
0505 16:30:18 16:30:18 Language: English
0505 16:30:18 16:30:18
0505 16:30:18 16:30:18 Text #1
0505 16:30:18 16:30:18 ID: 4
0505 16:30:18 16:30:18 Format: UTF-8
0505 16:30:18 16:30:18 Codec ID: S_TEXT/UTF8
0505 16:30:18 16:30:18 Codec ID/Info: UTF-8 Plain Text
0505 16:30:18 16:30:18 Title: Subtitles for Japanese Audio
0505 16:30:18 16:30:18 Language: English
0505 16:30:18 16:30:18
0505 16:30:18 16:30:18 Text #2
0505 16:30:18 16:30:18 ID: 5
0505 16:30:18 16:30:18 Format: UTF-8
0505 16:30:18 16:30:18 Codec ID: S_TEXT/UTF8
0505 16:30:18 16:30:18 Codec ID/Info: UTF-8 Plain Text
0505 16:30:18 16:30:18 Title: Dub Subtitles (closed captioning)
0505 16:30:18 16:30:18 Language: English
0505 16:30:18 16:30:18
0505 16:30:18 16:30:18
0505 16:30:18 16:30:18 Analysis result: {xcode_required=true, media_info=Duration : 1430
Bitrate: 1347 kb/s
Container : Matroska
Stream
ID : 1
Format : MPEG-4 Visual
Profile : null
Codec ID : DX50
Bitrate : 0 kb/s
Duration : 1429
Language : Japanese
Colorspace : 4:2:0
Width : 704
Height : 528
Display Aspect Ratio : 4.0
FrameRate : 29.97
Stream
ID : 2
Format : AAC
Profile : LC
Codec ID : A_AAC/MPEG4/LC/SBR
Bitrate : 0 kb/s
Duration : 1430
Language : Japanese
Channels : 6
Sample Rate :48000 Hz
Resolution : 0 bits
Title : Japanese Audio
Stream
ID : 3
Format : AAC
Profile : LC
Codec ID : A_AAC/MPEG4/LC/SBR
Bitrate : 0 kb/s
Duration : 1430
Language : English
Channels : 6
Sample Rate :48000 Hz
Resolution : 0 bits
Title : English Audio, video_height=528, duration_millis=1429000, device_specification=com.vuze.transcoder.devices.microsoft.XBox@1c13fbd, video_width=704}
0505 16:30:18 16:30:18 Transcoding file :/C:/Documents%20and%20Settings/Gareth/My%20Documents/Azureus%20Downloads/Tenchi%20Muyo/Seina%20Yamada/%5Ba4e%5DTenchi_Muyo_GXP_20%5Bdivx5.2.1%5D.mkv/XBox 360 SD -> C:\Documents and Settings\Gareth\My Documents\Azureus Downloads\transcodes\Xbox 360[a4e]Tenchi_Muyo_GXP_20http://divx5.2.1.mp4
0505 16:30:18 16:30:18 C:\Documents and Settings\Gareth\Application Data\Azureus\plugins\vuzexcode\ffmpeg.exe -y -threads 1 -i C:\Documents and Settings\Gareth\My Documents\Azureus Downloads\Tenchi Muyo\Seina Yamada[a4e]Tenchi_Muyo_GXP_20http://divx5.2.1.mkv -f mp4 -s 640x480 -r 29.97 -vcodec mpeg4 -b 2500kbps -maxrate 5000kbps -bufsize 8000kbit -ar 48000 -ac 2 -acodec libfaac C:\Documents and Settings\Gareth\My Documents\Azureus Downloads\transcodes\Xbox 360[a4e]Tenchi_Muyo_GXP_20http://divx5.2.1.mp4
0505 16:36:42 16:36:42 Transcode failed: Java heap space

Apologies for the spam. That's everything it says. I included the error that came up too.
Lakius

Posts: 1
Registered: 05/20/09
Re: Error: Transcode Failed. Java Heap Space???
Posted: May 19, 2009 6:01 PM   in response to: gazray4699 in response to: gazray4699
 
Click to report abuse...
I've found a solution to increase the heap size automatically at startup, it's buried in Azureuswiki. Go to your Vuze directory (like C:\Program Files\Vuze) and create a file called "Azureus.exe.vmoptions" Modify the file with notepad and place the following on the first line: "-Xmx256m" without the quotes, with no spaces. This will increase the maximum heap size and hopefully prevent a transcode failure.

Edited by: Lakius on May 19, 2009 6:01 PM
justanotheruser

Posts: 2,188
Registered: 10/19/08
Re: Error: Transcode Failed. Java Heap Space???
Posted: May 20, 2009 1:47 PM   in response to: Lakius in response to: Lakius
 
Click to report abuse...
I'd go as far as saying you could increase the value up to 1024MB easily based on the system description from the original post.
ApolloCreed

Posts: 2
Registered: 06/15/09
Re: Error: Transcode Failed. Java Heap Space???
Posted: Jun 15, 2009 2:44 PM   in response to: justanotheruser in response to: justanotheruser
 
Click to report abuse...
I continue to have this ridiculous 'Java Heap Space' error...and once it starts my system locks up and the only thing I can do from there is to pull the power plug, how do I fix this issue. This problem (for the first time) started out of the blue 2 days ago and has given me problems ever since. I was leaving my computer running throughout the evenings so I could seed, and I have done it for the past 2 months...but 2 days ago something seemed to have gone wrong.

Please assist with this issue...
Legend
Master: 800 - 9999 pts
Expert: 400 - 799 pts
Advanced: 200 - 399 pts
Intermediate: 100 - 199 pts
Beginner: 50 - 99 pts
Newbie: 0 - 49 pts
Vuze Staff Member
Vuze Community Moderator
Helpful Answer (3 pts)
Correct Answer (5 pts)

Point your RSS reader here for a feed of the latest messages in all forums